diff --git a/cloudformation/all.go b/cloudformation/all.go index 354888fc7..389d21923 100644 --- a/cloudformation/all.go +++ b/cloudformation/all.go @@ -408,6 +408,7 @@ func AllResources() map[string]Resource { "AWS::CleanRooms::ConfiguredTable": &cleanrooms.ConfiguredTable{}, "AWS::CleanRooms::ConfiguredTableAssociation": &cleanrooms.ConfiguredTableAssociation{}, "AWS::CleanRooms::Membership": &cleanrooms.Membership{}, + "AWS::CleanRooms::PrivacyBudgetTemplate": &cleanrooms.PrivacyBudgetTemplate{}, "AWS::CleanRoomsML::TrainingDataset": &cleanroomsml.TrainingDataset{}, "AWS::Cloud9::EnvironmentEC2": &cloud9.EnvironmentEC2{}, "AWS::CloudFormation::CustomResource": &cloudformation.CustomResource{}, @@ -5295,6 +5296,30 @@ func (t *Template) GetCleanRoomsMembershipWithName(name string) (*cleanrooms.Mem return nil, fmt.Errorf("resource %q of type cleanrooms.Membership not found", name) } +// GetAllCleanRoomsPrivacyBudgetTemplateResources retrieves all cleanrooms.PrivacyBudgetTemplate items from an AWS CloudFormation template +func (t *Template) GetAllCleanRoomsPrivacyBudgetTemplateResources() map[string]*cleanrooms.PrivacyBudgetTemplate { + results := map[string]*cleanrooms.PrivacyBudgetTemplate{} + for name, untyped := range t.Resources { + switch resource := untyped.(type) { + case *cleanrooms.PrivacyBudgetTemplate: + results[name] = resource + } + } + return results +} + +// GetCleanRoomsPrivacyBudgetTemplateWithName retrieves all cleanrooms.PrivacyBudgetTemplate items from an AWS CloudFormation template +// whose logical ID matches the provided name. Returns an error if not found. +func (t *Template) GetCleanRoomsPrivacyBudgetTemplateWithName(name string) (*cleanrooms.PrivacyBudgetTemplate, error) { + if untyped, ok := t.Resources[name]; ok { + switch resource := untyped.(type) { + case *cleanrooms.PrivacyBudgetTemplate: + return resource, nil + } + } + return nil, fmt.Errorf("resource %q of type cleanrooms.PrivacyBudgetTemplate not found", name) +} + // GetAllCleanRoomsMLTrainingDatasetResources retrieves all cleanroomsml.TrainingDataset items from an AWS CloudFormation template func (t *Template) GetAllCleanRoomsMLTrainingDatasetResources() map[string]*cleanroomsml.TrainingDataset { results := map[string]*cleanroomsml.TrainingDataset{} diff --git a/cloudformation/batch/aws-batch-jobdefinition_ekscontainersecuritycontext.go b/cloudformation/batch/aws-batch-jobdefinition_ekscontainersecuritycontext.go index e4e3feea3..6eab55d16 100644 --- a/cloudformation/batch/aws-batch-jobdefinition_ekscontainersecuritycontext.go +++ b/cloudformation/batch/aws-batch-jobdefinition_ekscontainersecuritycontext.go @@ -10,6 +10,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainersecuritycontext.html type JobDefinition_EksContainerSecurityContext struct { + // AllowPrivilegeEscalation AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainersecuritycontext.html#cfn-batch-jobdefinition-ekscontainersecuritycontext-allowprivilegeescalation + AllowPrivilegeEscalation *bool `json:"AllowPrivilegeEscalation,omitempty"` + // Privileged AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-ekscontainersecuritycontext.html#cfn-batch-jobdefinition-ekscontainersecuritycontext-privileged diff --git a/cloudformation/batch/aws-batch-jobdefinition_imagepullsecret.go b/cloudformation/batch/aws-batch-jobdefinition_imagepullsecret.go new file mode 100644 index 000000000..8738912ed --- /dev/null +++ b/cloudformation/batch/aws-batch-jobdefinition_imagepullsecret.go @@ -0,0 +1,37 @@ +// Code generated by "go generate". Please don't change this file directly. + +package batch + +import ( + "github.com/awslabs/goformation/v7/cloudformation/policies" +) + +// JobDefinition_ImagePullSecret AWS CloudFormation Resource (AWS::Batch::JobDefinition.ImagePullSecret) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html +type JobDefinition_ImagePullSecret struct { + + // Name AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-imagepullsecret.html#cfn-batch-jobdefinition-imagepullsecret-name + Name string `json:"Name"` + + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy + AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` + + // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy + AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` + + // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource + AWSCloudFormationDependsOn []string `json:"-"` + + // AWSCloudFormationMetadata stores structured data associated with this resource + AWSCloudFormationMetadata map[string]interface{} `json:"-"` + + // AWSCloudFormationCondition stores the logical ID of 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_ImagePullSecret) AWSCloudFormationType() string { + return "AWS::Batch::JobDefinition.ImagePullSecret" +} diff --git a/cloudformation/batch/aws-batch-jobdefinition_podproperties.go b/cloudformation/batch/aws-batch-jobdefinition_podproperties.go index b73878803..d2d5d4a22 100644 --- a/cloudformation/batch/aws-batch-jobdefinition_podproperties.go +++ b/cloudformation/batch/aws-batch-jobdefinition_podproperties.go @@ -25,6 +25,11 @@ type JobDefinition_PodProperties struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-hostnetwork HostNetwork *bool `json:"HostNetwork,omitempty"` + // ImagePullSecrets AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-imagepullsecrets + ImagePullSecrets []JobDefinition_ImagePullSecret `json:"ImagePullSecrets,omitempty"` + // InitContainers AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-podproperties.html#cfn-batch-jobdefinition-podproperties-initcontainers diff --git a/cloudformation/cleanrooms/aws-cleanrooms-privacybudgettemplate.go b/cloudformation/cleanrooms/aws-cleanrooms-privacybudgettemplate.go new file mode 100644 index 000000000..75a2274ac --- /dev/null +++ b/cloudformation/cleanrooms/aws-cleanrooms-privacybudgettemplate.go @@ -0,0 +1,138 @@ +// Code generated by "go generate". Please don't change this file directly. + +package cleanrooms + +import ( + "bytes" + "encoding/json" + + "github.com/awslabs/goformation/v7/cloudformation/policies" + "github.com/awslabs/goformation/v7/cloudformation/tags" +) + +// PrivacyBudgetTemplate AWS CloudFormation Resource (AWS::CleanRooms::PrivacyBudgetTemplate) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-privacybudgettemplate.html +type PrivacyBudgetTemplate struct { + + // AutoRefresh AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-privacybudgettemplate.html#cfn-cleanrooms-privacybudgettemplate-autorefresh + AutoRefresh string `json:"AutoRefresh"` + + // MembershipIdentifier AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-privacybudgettemplate.html#cfn-cleanrooms-privacybudgettemplate-membershipidentifier + MembershipIdentifier string `json:"MembershipIdentifier"` + + // Parameters AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-privacybudgettemplate.html#cfn-cleanrooms-privacybudgettemplate-parameters + Parameters *PrivacyBudgetTemplate_Parameters `json:"Parameters"` + + // PrivacyBudgetType AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-privacybudgettemplate.html#cfn-cleanrooms-privacybudgettemplate-privacybudgettype + PrivacyBudgetType string `json:"PrivacyBudgetType"` + + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cleanrooms-privacybudgettemplate.html#cfn-cleanrooms-privacybudgettemplate-tags + Tags []tags.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 *PrivacyBudgetTemplate) AWSCloudFormationType() string { + return "AWS::CleanRooms::PrivacyBudgetTemplate" +} + +// MarshalJSON is a custom JSON marshalling hook that embeds this object into +// an AWS CloudFormation JSON resource's 'Properties' field and adds a 'Type'. +func (r PrivacyBudgetTemplate) MarshalJSON() ([]byte, error) { + type Properties PrivacyBudgetTemplate + return json.Marshal(&struct { + Type string + Properties Properties + DependsOn []string `json:"DependsOn,omitempty"` + Metadata map[string]interface{} `json:"Metadata,omitempty"` + DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` + UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` + Condition string `json:"Condition,omitempty"` + }{ + Type: r.AWSCloudFormationType(), + Properties: (Properties)(r), + DependsOn: r.AWSCloudFormationDependsOn, + Metadata: r.AWSCloudFormationMetadata, + DeletionPolicy: r.AWSCloudFormationDeletionPolicy, + UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, + Condition: r.AWSCloudFormationCondition, + }) +} + +// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer +// AWS CloudFormation resource object, and just keeps the 'Properties' field. +func (r *PrivacyBudgetTemplate) UnmarshalJSON(b []byte) error { + type Properties PrivacyBudgetTemplate + res := &struct { + Type string + Properties *Properties + DependsOn interface{} + Metadata map[string]interface{} + DeletionPolicy string + UpdateReplacePolicy string + Condition string + }{} + + dec := json.NewDecoder(bytes.NewReader(b)) + dec.DisallowUnknownFields() // Force error if unknown field is found + + if err := dec.Decode(&res); err != nil { + return err + } + + // If the resource has no Properties set, it could be nil + if res.Properties != nil { + *r = PrivacyBudgetTemplate(*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 + } + } + if res.Metadata != nil { + r.AWSCloudFormationMetadata = res.Metadata + } + if res.DeletionPolicy != "" { + r.AWSCloudFormationDeletionPolicy = policies.DeletionPolicy(res.DeletionPolicy) + } + if res.UpdateReplacePolicy != "" { + r.AWSCloudFormationUpdateReplacePolicy = policies.UpdateReplacePolicy(res.UpdateReplacePolicy) + } + if res.Condition != "" { + r.AWSCloudFormationCondition = res.Condition + } + return nil +} diff --git a/cloudformation/cleanrooms/aws-cleanrooms-privacybudgettemplate_parameters.go b/cloudformation/cleanrooms/aws-cleanrooms-privacybudgettemplate_parameters.go new file mode 100644 index 000000000..4c6ce025c --- /dev/null +++ b/cloudformation/cleanrooms/aws-cleanrooms-privacybudgettemplate_parameters.go @@ -0,0 +1,42 @@ +// Code generated by "go generate". Please don't change this file directly. + +package cleanrooms + +import ( + "github.com/awslabs/goformation/v7/cloudformation/policies" +) + +// PrivacyBudgetTemplate_Parameters AWS CloudFormation Resource (AWS::CleanRooms::PrivacyBudgetTemplate.Parameters) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-privacybudgettemplate-parameters.html +type PrivacyBudgetTemplate_Parameters struct { + + // Epsilon AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-privacybudgettemplate-parameters.html#cfn-cleanrooms-privacybudgettemplate-parameters-epsilon + Epsilon int `json:"Epsilon"` + + // UsersNoisePerQuery AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cleanrooms-privacybudgettemplate-parameters.html#cfn-cleanrooms-privacybudgettemplate-parameters-usersnoiseperquery + UsersNoisePerQuery int `json:"UsersNoisePerQuery"` + + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy + AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` + + // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy + AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` + + // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource + AWSCloudFormationDependsOn []string `json:"-"` + + // AWSCloudFormationMetadata stores structured data associated with this resource + AWSCloudFormationMetadata map[string]interface{} `json:"-"` + + // AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created + AWSCloudFormationCondition string `json:"-"` +} + +// AWSCloudFormationType returns the AWS CloudFormation resource type +func (r *PrivacyBudgetTemplate_Parameters) AWSCloudFormationType() string { + return "AWS::CleanRooms::PrivacyBudgetTemplate.Parameters" +} diff --git a/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector.go b/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector.go index efdb27809..ba5d64e55 100644 --- a/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector.go +++ b/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector.go @@ -23,6 +23,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/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector_metriccharacteristics.go b/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector_metriccharacteristics.go new file mode 100644 index 000000000..075a57c8d --- /dev/null +++ b/cloudformation/cloudwatch/aws-cloudwatch-anomalydetector_metriccharacteristics.go @@ -0,0 +1,37 @@ +// Code generated by "go generate". Please don't change this file directly. + +package cloudwatch + +import ( + "github.com/awslabs/goformation/v7/cloudformation/policies" +) + +// 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 { + + // PeriodicSpikes AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudwatch-anomalydetector-metriccharacteristics.html#cfn-cloudwatch-anomalydetector-metriccharacteristics-periodicspikes + PeriodicSpikes *bool `json:"PeriodicSpikes,omitempty"` + + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy + AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` + + // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy + AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` + + // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource + AWSCloudFormationDependsOn []string `json:"-"` + + // AWSCloudFormationMetadata stores structured data associated with this resource + AWSCloudFormationMetadata map[string]interface{} `json:"-"` + + // AWSCloudFormationCondition stores the logical ID of 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_MetricCharacteristics) AWSCloudFormationType() string { + return "AWS::CloudWatch::AnomalyDetector.MetricCharacteristics" +} diff --git a/cloudformation/ec2/aws-ec2-customergateway.go b/cloudformation/ec2/aws-ec2-customergateway.go index dca8419f7..ffc7f99d9 100644 --- a/cloudformation/ec2/aws-ec2-customergateway.go +++ b/cloudformation/ec2/aws-ec2-customergateway.go @@ -19,6 +19,11 @@ type CustomerGateway struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customergateway.html#cfn-ec2-customergateway-bgpasn BgpAsn int `json:"BgpAsn"` + // 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 *string `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 diff --git a/cloudformation/verifiedpermissions/aws-verifiedpermissions-identitysource_cognitogroupconfiguration.go b/cloudformation/verifiedpermissions/aws-verifiedpermissions-identitysource_cognitogroupconfiguration.go new file mode 100644 index 000000000..cf540317a --- /dev/null +++ b/cloudformation/verifiedpermissions/aws-verifiedpermissions-identitysource_cognitogroupconfiguration.go @@ -0,0 +1,37 @@ +// Code generated by "go generate". Please don't change this file directly. + +package verifiedpermissions + +import ( + "github.com/awslabs/goformation/v7/cloudformation/policies" +) + +// IdentitySource_CognitoGroupConfiguration AWS CloudFormation Resource (AWS::VerifiedPermissions::IdentitySource.CognitoGroupConfiguration) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-cognitogroupconfiguration.html +type IdentitySource_CognitoGroupConfiguration struct { + + // GroupEntityType AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-cognitogroupconfiguration.html#cfn-verifiedpermissions-identitysource-cognitogroupconfiguration-groupentitytype + GroupEntityType string `json:"GroupEntityType"` + + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy + AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` + + // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy + AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` + + // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource + AWSCloudFormationDependsOn []string `json:"-"` + + // AWSCloudFormationMetadata stores structured data associated with this resource + AWSCloudFormationMetadata map[string]interface{} `json:"-"` + + // AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created + AWSCloudFormationCondition string `json:"-"` +} + +// AWSCloudFormationType returns the AWS CloudFormation resource type +func (r *IdentitySource_CognitoGroupConfiguration) AWSCloudFormationType() string { + return "AWS::VerifiedPermissions::IdentitySource.CognitoGroupConfiguration" +} diff --git a/cloudformation/verifiedpermissions/aws-verifiedpermissions-identitysource_cognitouserpoolconfiguration.go b/cloudformation/verifiedpermissions/aws-verifiedpermissions-identitysource_cognitouserpoolconfiguration.go index 8490c9c03..c89c322d5 100644 --- a/cloudformation/verifiedpermissions/aws-verifiedpermissions-identitysource_cognitouserpoolconfiguration.go +++ b/cloudformation/verifiedpermissions/aws-verifiedpermissions-identitysource_cognitouserpoolconfiguration.go @@ -15,6 +15,11 @@ type IdentitySource_CognitoUserPoolConfiguration struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-cognitouserpoolconfiguration.html#cfn-verifiedpermissions-identitysource-cognitouserpoolconfiguration-clientids ClientIds []string `json:"ClientIds,omitempty"` + // GroupConfiguration AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-cognitouserpoolconfiguration.html#cfn-verifiedpermissions-identitysource-cognitouserpoolconfiguration-groupconfiguration + GroupConfiguration *IdentitySource_CognitoGroupConfiguration `json:"GroupConfiguration,omitempty"` + // UserPoolArn AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-verifiedpermissions-identitysource-cognitouserpoolconfiguration.html#cfn-verifiedpermissions-identitysource-cognitouserpoolconfiguration-userpoolarn diff --git a/schema/cdk.go b/schema/cdk.go index f6d8c7959..09496333d 100644 --- a/schema/cdk.go +++ b/schema/cdk.go @@ -22325,6 +22325,9 @@ var CdkSchema = `{ "AWS::Batch::JobDefinition.EksContainerSecurityContext": { "additionalProperties": false, "properties": { + "AllowPrivilegeEscalation": { + "type": "boolean" + }, "Privileged": { "type": "boolean" }, @@ -22478,6 +22481,18 @@ var CdkSchema = `{ }, "type": "object" }, + "AWS::Batch::JobDefinition.ImagePullSecret": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, "AWS::Batch::JobDefinition.LinuxParameters": { "additionalProperties": false, "properties": { @@ -22624,6 +22639,12 @@ var CdkSchema = `{ "HostNetwork": { "type": "boolean" }, + "ImagePullSecrets": { + "items": { + "$ref": "#/definitions/AWS::Batch::JobDefinition.ImagePullSecret" + }, + "type": "array" + }, "InitContainers": { "items": { "$ref": "#/definitions/AWS::Batch::JobDefinition.EksContainer" @@ -27010,6 +27031,105 @@ var CdkSchema = `{ ], "type": "object" }, + "AWS::CleanRooms::PrivacyBudgetTemplate": { + "additionalProperties": false, + "properties": { + "Condition": { + "type": "string" + }, + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "AutoRefresh": { + "type": "string" + }, + "MembershipIdentifier": { + "type": "string" + }, + "Parameters": { + "$ref": "#/definitions/AWS::CleanRooms::PrivacyBudgetTemplate.Parameters" + }, + "PrivacyBudgetType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "AutoRefresh", + "MembershipIdentifier", + "Parameters", + "PrivacyBudgetType" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::CleanRooms::PrivacyBudgetTemplate" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, + "AWS::CleanRooms::PrivacyBudgetTemplate.Parameters": { + "additionalProperties": false, + "properties": { + "Epsilon": { + "type": "number" + }, + "UsersNoisePerQuery": { + "type": "number" + } + }, + "required": [ + "Epsilon", + "UsersNoisePerQuery" + ], + "type": "object" + }, "AWS::CleanRoomsML::TrainingDataset": { "additionalProperties": false, "properties": { @@ -32087,6 +32207,9 @@ var CdkSchema = `{ }, "type": "array" }, + "MetricCharacteristics": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricCharacteristics" + }, "MetricMathAnomalyDetector": { "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector" }, @@ -32178,6 +32301,15 @@ var CdkSchema = `{ ], "type": "object" }, + "AWS::CloudWatch::AnomalyDetector.MetricCharacteristics": { + "additionalProperties": false, + "properties": { + "PeriodicSpikes": { + "type": "boolean" + } + }, + "type": "object" + }, "AWS::CloudWatch::AnomalyDetector.MetricDataQueries": { "additionalProperties": false, "properties": {}, @@ -55778,6 +55910,9 @@ var CdkSchema = `{ "BgpAsn": { "type": "number" }, + "CertificateArn": { + "type": "string" + }, "DeviceName": { "type": "string" }, @@ -209406,6 +209541,18 @@ var CdkSchema = `{ ], "type": "object" }, + "AWS::VerifiedPermissions::IdentitySource.CognitoGroupConfiguration": { + "additionalProperties": false, + "properties": { + "GroupEntityType": { + "type": "string" + } + }, + "required": [ + "GroupEntityType" + ], + "type": "object" + }, "AWS::VerifiedPermissions::IdentitySource.CognitoUserPoolConfiguration": { "additionalProperties": false, "properties": { @@ -209415,6 +209562,9 @@ var CdkSchema = `{ }, "type": "array" }, + "GroupConfiguration": { + "$ref": "#/definitions/AWS::VerifiedPermissions::IdentitySource.CognitoGroupConfiguration" + }, "UserPoolArn": { "type": "string" } @@ -209436,27 +209586,6 @@ var CdkSchema = `{ ], "type": "object" }, - "AWS::VerifiedPermissions::IdentitySource.IdentitySourceDetails": { - "additionalProperties": false, - "properties": { - "ClientIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DiscoveryUrl": { - "type": "string" - }, - "OpenIdIssuer": { - "type": "string" - }, - "UserPoolArn": { - "type": "string" - } - }, - "type": "object" - }, "AWS::VerifiedPermissions::Policy": { "additionalProperties": false, "properties": { @@ -218106,6 +218235,9 @@ var CdkSchema = `{ { "$ref": "#/definitions/AWS::CleanRooms::Membership" }, + { + "$ref": "#/definitions/AWS::CleanRooms::PrivacyBudgetTemplate" + }, { "$ref": "#/definitions/AWS::CleanRoomsML::TrainingDataset" }, diff --git a/schema/cdk.schema.json b/schema/cdk.schema.json index 19462674d..f9af4596c 100644 --- a/schema/cdk.schema.json +++ b/schema/cdk.schema.json @@ -22320,6 +22320,9 @@ "AWS::Batch::JobDefinition.EksContainerSecurityContext": { "additionalProperties": false, "properties": { + "AllowPrivilegeEscalation": { + "type": "boolean" + }, "Privileged": { "type": "boolean" }, @@ -22473,6 +22476,18 @@ }, "type": "object" }, + "AWS::Batch::JobDefinition.ImagePullSecret": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, "AWS::Batch::JobDefinition.LinuxParameters": { "additionalProperties": false, "properties": { @@ -22619,6 +22634,12 @@ "HostNetwork": { "type": "boolean" }, + "ImagePullSecrets": { + "items": { + "$ref": "#/definitions/AWS::Batch::JobDefinition.ImagePullSecret" + }, + "type": "array" + }, "InitContainers": { "items": { "$ref": "#/definitions/AWS::Batch::JobDefinition.EksContainer" @@ -27005,6 +27026,105 @@ ], "type": "object" }, + "AWS::CleanRooms::PrivacyBudgetTemplate": { + "additionalProperties": false, + "properties": { + "Condition": { + "type": "string" + }, + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "AutoRefresh": { + "type": "string" + }, + "MembershipIdentifier": { + "type": "string" + }, + "Parameters": { + "$ref": "#/definitions/AWS::CleanRooms::PrivacyBudgetTemplate.Parameters" + }, + "PrivacyBudgetType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "AutoRefresh", + "MembershipIdentifier", + "Parameters", + "PrivacyBudgetType" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::CleanRooms::PrivacyBudgetTemplate" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, + "AWS::CleanRooms::PrivacyBudgetTemplate.Parameters": { + "additionalProperties": false, + "properties": { + "Epsilon": { + "type": "number" + }, + "UsersNoisePerQuery": { + "type": "number" + } + }, + "required": [ + "Epsilon", + "UsersNoisePerQuery" + ], + "type": "object" + }, "AWS::CleanRoomsML::TrainingDataset": { "additionalProperties": false, "properties": { @@ -32082,6 +32202,9 @@ }, "type": "array" }, + "MetricCharacteristics": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricCharacteristics" + }, "MetricMathAnomalyDetector": { "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector" }, @@ -32173,6 +32296,15 @@ ], "type": "object" }, + "AWS::CloudWatch::AnomalyDetector.MetricCharacteristics": { + "additionalProperties": false, + "properties": { + "PeriodicSpikes": { + "type": "boolean" + } + }, + "type": "object" + }, "AWS::CloudWatch::AnomalyDetector.MetricDataQueries": { "additionalProperties": false, "properties": {}, @@ -55773,6 +55905,9 @@ "BgpAsn": { "type": "number" }, + "CertificateArn": { + "type": "string" + }, "DeviceName": { "type": "string" }, @@ -209401,6 +209536,18 @@ ], "type": "object" }, + "AWS::VerifiedPermissions::IdentitySource.CognitoGroupConfiguration": { + "additionalProperties": false, + "properties": { + "GroupEntityType": { + "type": "string" + } + }, + "required": [ + "GroupEntityType" + ], + "type": "object" + }, "AWS::VerifiedPermissions::IdentitySource.CognitoUserPoolConfiguration": { "additionalProperties": false, "properties": { @@ -209410,6 +209557,9 @@ }, "type": "array" }, + "GroupConfiguration": { + "$ref": "#/definitions/AWS::VerifiedPermissions::IdentitySource.CognitoGroupConfiguration" + }, "UserPoolArn": { "type": "string" } @@ -209431,27 +209581,6 @@ ], "type": "object" }, - "AWS::VerifiedPermissions::IdentitySource.IdentitySourceDetails": { - "additionalProperties": false, - "properties": { - "ClientIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DiscoveryUrl": { - "type": "string" - }, - "OpenIdIssuer": { - "type": "string" - }, - "UserPoolArn": { - "type": "string" - } - }, - "type": "object" - }, "AWS::VerifiedPermissions::Policy": { "additionalProperties": false, "properties": { @@ -218101,6 +218230,9 @@ { "$ref": "#/definitions/AWS::CleanRooms::Membership" }, + { + "$ref": "#/definitions/AWS::CleanRooms::PrivacyBudgetTemplate" + }, { "$ref": "#/definitions/AWS::CleanRoomsML::TrainingDataset" }, diff --git a/schema/cloudformation.go b/schema/cloudformation.go index 51e5a7981..fef573f02 100644 --- a/schema/cloudformation.go +++ b/schema/cloudformation.go @@ -22325,6 +22325,9 @@ var CloudformationSchema = `{ "AWS::Batch::JobDefinition.EksContainerSecurityContext": { "additionalProperties": false, "properties": { + "AllowPrivilegeEscalation": { + "type": "boolean" + }, "Privileged": { "type": "boolean" }, @@ -22478,6 +22481,18 @@ var CloudformationSchema = `{ }, "type": "object" }, + "AWS::Batch::JobDefinition.ImagePullSecret": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, "AWS::Batch::JobDefinition.LinuxParameters": { "additionalProperties": false, "properties": { @@ -22624,6 +22639,12 @@ var CloudformationSchema = `{ "HostNetwork": { "type": "boolean" }, + "ImagePullSecrets": { + "items": { + "$ref": "#/definitions/AWS::Batch::JobDefinition.ImagePullSecret" + }, + "type": "array" + }, "InitContainers": { "items": { "$ref": "#/definitions/AWS::Batch::JobDefinition.EksContainer" @@ -26949,6 +26970,105 @@ var CloudformationSchema = `{ ], "type": "object" }, + "AWS::CleanRooms::PrivacyBudgetTemplate": { + "additionalProperties": false, + "properties": { + "Condition": { + "type": "string" + }, + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "AutoRefresh": { + "type": "string" + }, + "MembershipIdentifier": { + "type": "string" + }, + "Parameters": { + "$ref": "#/definitions/AWS::CleanRooms::PrivacyBudgetTemplate.Parameters" + }, + "PrivacyBudgetType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "AutoRefresh", + "MembershipIdentifier", + "Parameters", + "PrivacyBudgetType" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::CleanRooms::PrivacyBudgetTemplate" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, + "AWS::CleanRooms::PrivacyBudgetTemplate.Parameters": { + "additionalProperties": false, + "properties": { + "Epsilon": { + "type": "number" + }, + "UsersNoisePerQuery": { + "type": "number" + } + }, + "required": [ + "Epsilon", + "UsersNoisePerQuery" + ], + "type": "object" + }, "AWS::CleanRoomsML::TrainingDataset": { "additionalProperties": false, "properties": { @@ -32026,6 +32146,9 @@ var CloudformationSchema = `{ }, "type": "array" }, + "MetricCharacteristics": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricCharacteristics" + }, "MetricMathAnomalyDetector": { "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector" }, @@ -32117,6 +32240,15 @@ var CloudformationSchema = `{ ], "type": "object" }, + "AWS::CloudWatch::AnomalyDetector.MetricCharacteristics": { + "additionalProperties": false, + "properties": { + "PeriodicSpikes": { + "type": "boolean" + } + }, + "type": "object" + }, "AWS::CloudWatch::AnomalyDetector.MetricDataQueries": { "additionalProperties": false, "properties": {}, @@ -55717,6 +55849,9 @@ var CloudformationSchema = `{ "BgpAsn": { "type": "number" }, + "CertificateArn": { + "type": "string" + }, "DeviceName": { "type": "string" }, @@ -209345,6 +209480,18 @@ var CloudformationSchema = `{ ], "type": "object" }, + "AWS::VerifiedPermissions::IdentitySource.CognitoGroupConfiguration": { + "additionalProperties": false, + "properties": { + "GroupEntityType": { + "type": "string" + } + }, + "required": [ + "GroupEntityType" + ], + "type": "object" + }, "AWS::VerifiedPermissions::IdentitySource.CognitoUserPoolConfiguration": { "additionalProperties": false, "properties": { @@ -209354,6 +209501,9 @@ var CloudformationSchema = `{ }, "type": "array" }, + "GroupConfiguration": { + "$ref": "#/definitions/AWS::VerifiedPermissions::IdentitySource.CognitoGroupConfiguration" + }, "UserPoolArn": { "type": "string" } @@ -209375,27 +209525,6 @@ var CloudformationSchema = `{ ], "type": "object" }, - "AWS::VerifiedPermissions::IdentitySource.IdentitySourceDetails": { - "additionalProperties": false, - "properties": { - "ClientIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DiscoveryUrl": { - "type": "string" - }, - "OpenIdIssuer": { - "type": "string" - }, - "UserPoolArn": { - "type": "string" - } - }, - "type": "object" - }, "AWS::VerifiedPermissions::Policy": { "additionalProperties": false, "properties": { @@ -218042,6 +218171,9 @@ var CloudformationSchema = `{ { "$ref": "#/definitions/AWS::CleanRooms::Membership" }, + { + "$ref": "#/definitions/AWS::CleanRooms::PrivacyBudgetTemplate" + }, { "$ref": "#/definitions/AWS::CleanRoomsML::TrainingDataset" }, diff --git a/schema/cloudformation.schema.json b/schema/cloudformation.schema.json index 16631789e..f4182f36c 100644 --- a/schema/cloudformation.schema.json +++ b/schema/cloudformation.schema.json @@ -22320,6 +22320,9 @@ "AWS::Batch::JobDefinition.EksContainerSecurityContext": { "additionalProperties": false, "properties": { + "AllowPrivilegeEscalation": { + "type": "boolean" + }, "Privileged": { "type": "boolean" }, @@ -22473,6 +22476,18 @@ }, "type": "object" }, + "AWS::Batch::JobDefinition.ImagePullSecret": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, "AWS::Batch::JobDefinition.LinuxParameters": { "additionalProperties": false, "properties": { @@ -22619,6 +22634,12 @@ "HostNetwork": { "type": "boolean" }, + "ImagePullSecrets": { + "items": { + "$ref": "#/definitions/AWS::Batch::JobDefinition.ImagePullSecret" + }, + "type": "array" + }, "InitContainers": { "items": { "$ref": "#/definitions/AWS::Batch::JobDefinition.EksContainer" @@ -26944,6 +26965,105 @@ ], "type": "object" }, + "AWS::CleanRooms::PrivacyBudgetTemplate": { + "additionalProperties": false, + "properties": { + "Condition": { + "type": "string" + }, + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "AutoRefresh": { + "type": "string" + }, + "MembershipIdentifier": { + "type": "string" + }, + "Parameters": { + "$ref": "#/definitions/AWS::CleanRooms::PrivacyBudgetTemplate.Parameters" + }, + "PrivacyBudgetType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "AutoRefresh", + "MembershipIdentifier", + "Parameters", + "PrivacyBudgetType" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::CleanRooms::PrivacyBudgetTemplate" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, + "AWS::CleanRooms::PrivacyBudgetTemplate.Parameters": { + "additionalProperties": false, + "properties": { + "Epsilon": { + "type": "number" + }, + "UsersNoisePerQuery": { + "type": "number" + } + }, + "required": [ + "Epsilon", + "UsersNoisePerQuery" + ], + "type": "object" + }, "AWS::CleanRoomsML::TrainingDataset": { "additionalProperties": false, "properties": { @@ -32021,6 +32141,9 @@ }, "type": "array" }, + "MetricCharacteristics": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricCharacteristics" + }, "MetricMathAnomalyDetector": { "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector" }, @@ -32112,6 +32235,15 @@ ], "type": "object" }, + "AWS::CloudWatch::AnomalyDetector.MetricCharacteristics": { + "additionalProperties": false, + "properties": { + "PeriodicSpikes": { + "type": "boolean" + } + }, + "type": "object" + }, "AWS::CloudWatch::AnomalyDetector.MetricDataQueries": { "additionalProperties": false, "properties": {}, @@ -55712,6 +55844,9 @@ "BgpAsn": { "type": "number" }, + "CertificateArn": { + "type": "string" + }, "DeviceName": { "type": "string" }, @@ -209340,6 +209475,18 @@ ], "type": "object" }, + "AWS::VerifiedPermissions::IdentitySource.CognitoGroupConfiguration": { + "additionalProperties": false, + "properties": { + "GroupEntityType": { + "type": "string" + } + }, + "required": [ + "GroupEntityType" + ], + "type": "object" + }, "AWS::VerifiedPermissions::IdentitySource.CognitoUserPoolConfiguration": { "additionalProperties": false, "properties": { @@ -209349,6 +209496,9 @@ }, "type": "array" }, + "GroupConfiguration": { + "$ref": "#/definitions/AWS::VerifiedPermissions::IdentitySource.CognitoGroupConfiguration" + }, "UserPoolArn": { "type": "string" } @@ -209370,27 +209520,6 @@ ], "type": "object" }, - "AWS::VerifiedPermissions::IdentitySource.IdentitySourceDetails": { - "additionalProperties": false, - "properties": { - "ClientIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DiscoveryUrl": { - "type": "string" - }, - "OpenIdIssuer": { - "type": "string" - }, - "UserPoolArn": { - "type": "string" - } - }, - "type": "object" - }, "AWS::VerifiedPermissions::Policy": { "additionalProperties": false, "properties": { @@ -218037,6 +218166,9 @@ { "$ref": "#/definitions/AWS::CleanRooms::Membership" }, + { + "$ref": "#/definitions/AWS::CleanRooms::PrivacyBudgetTemplate" + }, { "$ref": "#/definitions/AWS::CleanRoomsML::TrainingDataset" }, diff --git a/schema/sam.go b/schema/sam.go index fdb0c11c7..b497609c3 100644 --- a/schema/sam.go +++ b/schema/sam.go @@ -22325,6 +22325,9 @@ var SamSchema = `{ "AWS::Batch::JobDefinition.EksContainerSecurityContext": { "additionalProperties": false, "properties": { + "AllowPrivilegeEscalation": { + "type": "boolean" + }, "Privileged": { "type": "boolean" }, @@ -22478,6 +22481,18 @@ var SamSchema = `{ }, "type": "object" }, + "AWS::Batch::JobDefinition.ImagePullSecret": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, "AWS::Batch::JobDefinition.LinuxParameters": { "additionalProperties": false, "properties": { @@ -22624,6 +22639,12 @@ var SamSchema = `{ "HostNetwork": { "type": "boolean" }, + "ImagePullSecrets": { + "items": { + "$ref": "#/definitions/AWS::Batch::JobDefinition.ImagePullSecret" + }, + "type": "array" + }, "InitContainers": { "items": { "$ref": "#/definitions/AWS::Batch::JobDefinition.EksContainer" @@ -26949,6 +26970,105 @@ var SamSchema = `{ ], "type": "object" }, + "AWS::CleanRooms::PrivacyBudgetTemplate": { + "additionalProperties": false, + "properties": { + "Condition": { + "type": "string" + }, + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "AutoRefresh": { + "type": "string" + }, + "MembershipIdentifier": { + "type": "string" + }, + "Parameters": { + "$ref": "#/definitions/AWS::CleanRooms::PrivacyBudgetTemplate.Parameters" + }, + "PrivacyBudgetType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "AutoRefresh", + "MembershipIdentifier", + "Parameters", + "PrivacyBudgetType" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::CleanRooms::PrivacyBudgetTemplate" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, + "AWS::CleanRooms::PrivacyBudgetTemplate.Parameters": { + "additionalProperties": false, + "properties": { + "Epsilon": { + "type": "number" + }, + "UsersNoisePerQuery": { + "type": "number" + } + }, + "required": [ + "Epsilon", + "UsersNoisePerQuery" + ], + "type": "object" + }, "AWS::CleanRoomsML::TrainingDataset": { "additionalProperties": false, "properties": { @@ -32026,6 +32146,9 @@ var SamSchema = `{ }, "type": "array" }, + "MetricCharacteristics": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricCharacteristics" + }, "MetricMathAnomalyDetector": { "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector" }, @@ -32117,6 +32240,15 @@ var SamSchema = `{ ], "type": "object" }, + "AWS::CloudWatch::AnomalyDetector.MetricCharacteristics": { + "additionalProperties": false, + "properties": { + "PeriodicSpikes": { + "type": "boolean" + } + }, + "type": "object" + }, "AWS::CloudWatch::AnomalyDetector.MetricDataQueries": { "additionalProperties": false, "properties": {}, @@ -55717,6 +55849,9 @@ var SamSchema = `{ "BgpAsn": { "type": "number" }, + "CertificateArn": { + "type": "string" + }, "DeviceName": { "type": "string" }, @@ -212126,6 +212261,18 @@ var SamSchema = `{ ], "type": "object" }, + "AWS::VerifiedPermissions::IdentitySource.CognitoGroupConfiguration": { + "additionalProperties": false, + "properties": { + "GroupEntityType": { + "type": "string" + } + }, + "required": [ + "GroupEntityType" + ], + "type": "object" + }, "AWS::VerifiedPermissions::IdentitySource.CognitoUserPoolConfiguration": { "additionalProperties": false, "properties": { @@ -212135,6 +212282,9 @@ var SamSchema = `{ }, "type": "array" }, + "GroupConfiguration": { + "$ref": "#/definitions/AWS::VerifiedPermissions::IdentitySource.CognitoGroupConfiguration" + }, "UserPoolArn": { "type": "string" } @@ -212156,27 +212306,6 @@ var SamSchema = `{ ], "type": "object" }, - "AWS::VerifiedPermissions::IdentitySource.IdentitySourceDetails": { - "additionalProperties": false, - "properties": { - "ClientIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DiscoveryUrl": { - "type": "string" - }, - "OpenIdIssuer": { - "type": "string" - }, - "UserPoolArn": { - "type": "string" - } - }, - "type": "object" - }, "AWS::VerifiedPermissions::Policy": { "additionalProperties": false, "properties": { @@ -221124,6 +221253,9 @@ var SamSchema = `{ { "$ref": "#/definitions/AWS::CleanRooms::Membership" }, + { + "$ref": "#/definitions/AWS::CleanRooms::PrivacyBudgetTemplate" + }, { "$ref": "#/definitions/AWS::CleanRoomsML::TrainingDataset" }, diff --git a/schema/sam.schema.json b/schema/sam.schema.json index 8c20d79b8..8279822ae 100644 --- a/schema/sam.schema.json +++ b/schema/sam.schema.json @@ -22320,6 +22320,9 @@ "AWS::Batch::JobDefinition.EksContainerSecurityContext": { "additionalProperties": false, "properties": { + "AllowPrivilegeEscalation": { + "type": "boolean" + }, "Privileged": { "type": "boolean" }, @@ -22473,6 +22476,18 @@ }, "type": "object" }, + "AWS::Batch::JobDefinition.ImagePullSecret": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, "AWS::Batch::JobDefinition.LinuxParameters": { "additionalProperties": false, "properties": { @@ -22619,6 +22634,12 @@ "HostNetwork": { "type": "boolean" }, + "ImagePullSecrets": { + "items": { + "$ref": "#/definitions/AWS::Batch::JobDefinition.ImagePullSecret" + }, + "type": "array" + }, "InitContainers": { "items": { "$ref": "#/definitions/AWS::Batch::JobDefinition.EksContainer" @@ -26944,6 +26965,105 @@ ], "type": "object" }, + "AWS::CleanRooms::PrivacyBudgetTemplate": { + "additionalProperties": false, + "properties": { + "Condition": { + "type": "string" + }, + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "AutoRefresh": { + "type": "string" + }, + "MembershipIdentifier": { + "type": "string" + }, + "Parameters": { + "$ref": "#/definitions/AWS::CleanRooms::PrivacyBudgetTemplate.Parameters" + }, + "PrivacyBudgetType": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "AutoRefresh", + "MembershipIdentifier", + "Parameters", + "PrivacyBudgetType" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::CleanRooms::PrivacyBudgetTemplate" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, + "AWS::CleanRooms::PrivacyBudgetTemplate.Parameters": { + "additionalProperties": false, + "properties": { + "Epsilon": { + "type": "number" + }, + "UsersNoisePerQuery": { + "type": "number" + } + }, + "required": [ + "Epsilon", + "UsersNoisePerQuery" + ], + "type": "object" + }, "AWS::CleanRoomsML::TrainingDataset": { "additionalProperties": false, "properties": { @@ -32021,6 +32141,9 @@ }, "type": "array" }, + "MetricCharacteristics": { + "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricCharacteristics" + }, "MetricMathAnomalyDetector": { "$ref": "#/definitions/AWS::CloudWatch::AnomalyDetector.MetricMathAnomalyDetector" }, @@ -32112,6 +32235,15 @@ ], "type": "object" }, + "AWS::CloudWatch::AnomalyDetector.MetricCharacteristics": { + "additionalProperties": false, + "properties": { + "PeriodicSpikes": { + "type": "boolean" + } + }, + "type": "object" + }, "AWS::CloudWatch::AnomalyDetector.MetricDataQueries": { "additionalProperties": false, "properties": {}, @@ -55712,6 +55844,9 @@ "BgpAsn": { "type": "number" }, + "CertificateArn": { + "type": "string" + }, "DeviceName": { "type": "string" }, @@ -212121,6 +212256,18 @@ ], "type": "object" }, + "AWS::VerifiedPermissions::IdentitySource.CognitoGroupConfiguration": { + "additionalProperties": false, + "properties": { + "GroupEntityType": { + "type": "string" + } + }, + "required": [ + "GroupEntityType" + ], + "type": "object" + }, "AWS::VerifiedPermissions::IdentitySource.CognitoUserPoolConfiguration": { "additionalProperties": false, "properties": { @@ -212130,6 +212277,9 @@ }, "type": "array" }, + "GroupConfiguration": { + "$ref": "#/definitions/AWS::VerifiedPermissions::IdentitySource.CognitoGroupConfiguration" + }, "UserPoolArn": { "type": "string" } @@ -212151,27 +212301,6 @@ ], "type": "object" }, - "AWS::VerifiedPermissions::IdentitySource.IdentitySourceDetails": { - "additionalProperties": false, - "properties": { - "ClientIds": { - "items": { - "type": "string" - }, - "type": "array" - }, - "DiscoveryUrl": { - "type": "string" - }, - "OpenIdIssuer": { - "type": "string" - }, - "UserPoolArn": { - "type": "string" - } - }, - "type": "object" - }, "AWS::VerifiedPermissions::Policy": { "additionalProperties": false, "properties": { @@ -221119,6 +221248,9 @@ { "$ref": "#/definitions/AWS::CleanRooms::Membership" }, + { + "$ref": "#/definitions/AWS::CleanRooms::PrivacyBudgetTemplate" + }, { "$ref": "#/definitions/AWS::CleanRoomsML::TrainingDataset" },