diff --git a/cloudformation/evidently/aws-evidently-experiment.go b/cloudformation/evidently/aws-evidently-experiment.go index ef0863a099..96db0961d1 100644 --- a/cloudformation/evidently/aws-evidently-experiment.go +++ b/cloudformation/evidently/aws-evidently-experiment.go @@ -45,6 +45,11 @@ type Experiment struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html#cfn-evidently-experiment-randomizationsalt RandomizationSalt *string `json:"RandomizationSalt,omitempty"` + // RemoveSegment AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html#cfn-evidently-experiment-removesegment + RemoveSegment *bool `json:"RemoveSegment,omitempty"` + // RunningStatus AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html#cfn-evidently-experiment-runningstatus @@ -55,6 +60,11 @@ type Experiment struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html#cfn-evidently-experiment-samplingrate SamplingRate *int `json:"SamplingRate,omitempty"` + // Segment AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-experiment.html#cfn-evidently-experiment-segment + Segment *string `json:"Segment,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 diff --git a/cloudformation/evidently/aws-evidently-launch_segmentoverride.go b/cloudformation/evidently/aws-evidently-launch_segmentoverride.go new file mode 100644 index 0000000000..508c8b766d --- /dev/null +++ b/cloudformation/evidently/aws-evidently-launch_segmentoverride.go @@ -0,0 +1,47 @@ +// Code generated by "go generate". Please don't change this file directly. + +package evidently + +import ( + "github.com/awslabs/goformation/v6/cloudformation/policies" +) + +// Launch_SegmentOverride AWS CloudFormation Resource (AWS::Evidently::Launch.SegmentOverride) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-segmentoverride.html +type Launch_SegmentOverride struct { + + // EvaluationOrder AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-segmentoverride.html#cfn-evidently-launch-segmentoverride-evaluationorder + EvaluationOrder int `json:"EvaluationOrder"` + + // Segment AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-segmentoverride.html#cfn-evidently-launch-segmentoverride-segment + Segment string `json:"Segment"` + + // Weights AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-segmentoverride.html#cfn-evidently-launch-segmentoverride-weights + Weights []Launch_GroupToWeight `json:"Weights"` + + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy + AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` + + // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy + AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` + + // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource + AWSCloudFormationDependsOn []string `json:"-"` + + // AWSCloudFormationMetadata stores structured data associated with this resource + AWSCloudFormationMetadata map[string]interface{} `json:"-"` + + // AWSCloudFormationCondition stores the logical ID of 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_SegmentOverride) AWSCloudFormationType() string { + return "AWS::Evidently::Launch.SegmentOverride" +} diff --git a/cloudformation/evidently/aws-evidently-launch_stepconfig.go b/cloudformation/evidently/aws-evidently-launch_stepconfig.go index 2b00b21937..14abb923da 100644 --- a/cloudformation/evidently/aws-evidently-launch_stepconfig.go +++ b/cloudformation/evidently/aws-evidently-launch_stepconfig.go @@ -15,6 +15,11 @@ type Launch_StepConfig struct { // 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"` + // SegmentOverrides AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-evidently-launch-stepconfig.html#cfn-evidently-launch-stepconfig-segmentoverrides + SegmentOverrides *[]Launch_SegmentOverride `json:"SegmentOverrides,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 diff --git a/schema/cdk.go b/schema/cdk.go index 7aa4e6edb6..1f69499db6 100644 --- a/schema/cdk.go +++ b/schema/cdk.go @@ -59817,12 +59817,18 @@ var CdkSchema = `{ "RandomizationSalt": { "type": "string" }, + "RemoveSegment": { + "type": "boolean" + }, "RunningStatus": { "$ref": "#/definitions/AWS::Evidently::Experiment.RunningStatusObject" }, "SamplingRate": { "type": "number" }, + "Segment": { + "type": "string" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -60287,6 +60293,29 @@ var CdkSchema = `{ ], "type": "object" }, + "AWS::Evidently::Launch.SegmentOverride": { + "additionalProperties": false, + "properties": { + "EvaluationOrder": { + "type": "number" + }, + "Segment": { + "type": "string" + }, + "Weights": { + "items": { + "$ref": "#/definitions/AWS::Evidently::Launch.GroupToWeight" + }, + "type": "array" + } + }, + "required": [ + "EvaluationOrder", + "Segment", + "Weights" + ], + "type": "object" + }, "AWS::Evidently::Launch.StepConfig": { "additionalProperties": false, "properties": { @@ -60296,6 +60325,12 @@ var CdkSchema = `{ }, "type": "array" }, + "SegmentOverrides": { + "items": { + "$ref": "#/definitions/AWS::Evidently::Launch.SegmentOverride" + }, + "type": "array" + }, "StartTime": { "type": "string" } diff --git a/schema/cdk.schema.json b/schema/cdk.schema.json index 7697b332c1..73103a0e09 100644 --- a/schema/cdk.schema.json +++ b/schema/cdk.schema.json @@ -59812,12 +59812,18 @@ "RandomizationSalt": { "type": "string" }, + "RemoveSegment": { + "type": "boolean" + }, "RunningStatus": { "$ref": "#/definitions/AWS::Evidently::Experiment.RunningStatusObject" }, "SamplingRate": { "type": "number" }, + "Segment": { + "type": "string" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -60282,6 +60288,29 @@ ], "type": "object" }, + "AWS::Evidently::Launch.SegmentOverride": { + "additionalProperties": false, + "properties": { + "EvaluationOrder": { + "type": "number" + }, + "Segment": { + "type": "string" + }, + "Weights": { + "items": { + "$ref": "#/definitions/AWS::Evidently::Launch.GroupToWeight" + }, + "type": "array" + } + }, + "required": [ + "EvaluationOrder", + "Segment", + "Weights" + ], + "type": "object" + }, "AWS::Evidently::Launch.StepConfig": { "additionalProperties": false, "properties": { @@ -60291,6 +60320,12 @@ }, "type": "array" }, + "SegmentOverrides": { + "items": { + "$ref": "#/definitions/AWS::Evidently::Launch.SegmentOverride" + }, + "type": "array" + }, "StartTime": { "type": "string" } diff --git a/schema/cloudformation.go b/schema/cloudformation.go index 9dee363c16..04c2351396 100644 --- a/schema/cloudformation.go +++ b/schema/cloudformation.go @@ -59756,12 +59756,18 @@ var CloudformationSchema = `{ "RandomizationSalt": { "type": "string" }, + "RemoveSegment": { + "type": "boolean" + }, "RunningStatus": { "$ref": "#/definitions/AWS::Evidently::Experiment.RunningStatusObject" }, "SamplingRate": { "type": "number" }, + "Segment": { + "type": "string" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -60226,6 +60232,29 @@ var CloudformationSchema = `{ ], "type": "object" }, + "AWS::Evidently::Launch.SegmentOverride": { + "additionalProperties": false, + "properties": { + "EvaluationOrder": { + "type": "number" + }, + "Segment": { + "type": "string" + }, + "Weights": { + "items": { + "$ref": "#/definitions/AWS::Evidently::Launch.GroupToWeight" + }, + "type": "array" + } + }, + "required": [ + "EvaluationOrder", + "Segment", + "Weights" + ], + "type": "object" + }, "AWS::Evidently::Launch.StepConfig": { "additionalProperties": false, "properties": { @@ -60235,6 +60264,12 @@ var CloudformationSchema = `{ }, "type": "array" }, + "SegmentOverrides": { + "items": { + "$ref": "#/definitions/AWS::Evidently::Launch.SegmentOverride" + }, + "type": "array" + }, "StartTime": { "type": "string" } diff --git a/schema/cloudformation.schema.json b/schema/cloudformation.schema.json index f05a74d105..c1ab7e2262 100644 --- a/schema/cloudformation.schema.json +++ b/schema/cloudformation.schema.json @@ -59751,12 +59751,18 @@ "RandomizationSalt": { "type": "string" }, + "RemoveSegment": { + "type": "boolean" + }, "RunningStatus": { "$ref": "#/definitions/AWS::Evidently::Experiment.RunningStatusObject" }, "SamplingRate": { "type": "number" }, + "Segment": { + "type": "string" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -60221,6 +60227,29 @@ ], "type": "object" }, + "AWS::Evidently::Launch.SegmentOverride": { + "additionalProperties": false, + "properties": { + "EvaluationOrder": { + "type": "number" + }, + "Segment": { + "type": "string" + }, + "Weights": { + "items": { + "$ref": "#/definitions/AWS::Evidently::Launch.GroupToWeight" + }, + "type": "array" + } + }, + "required": [ + "EvaluationOrder", + "Segment", + "Weights" + ], + "type": "object" + }, "AWS::Evidently::Launch.StepConfig": { "additionalProperties": false, "properties": { @@ -60230,6 +60259,12 @@ }, "type": "array" }, + "SegmentOverrides": { + "items": { + "$ref": "#/definitions/AWS::Evidently::Launch.SegmentOverride" + }, + "type": "array" + }, "StartTime": { "type": "string" } diff --git a/schema/sam.go b/schema/sam.go index f425c89829..f7e2c0dc2b 100644 --- a/schema/sam.go +++ b/schema/sam.go @@ -59756,12 +59756,18 @@ var SamSchema = `{ "RandomizationSalt": { "type": "string" }, + "RemoveSegment": { + "type": "boolean" + }, "RunningStatus": { "$ref": "#/definitions/AWS::Evidently::Experiment.RunningStatusObject" }, "SamplingRate": { "type": "number" }, + "Segment": { + "type": "string" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -60226,6 +60232,29 @@ var SamSchema = `{ ], "type": "object" }, + "AWS::Evidently::Launch.SegmentOverride": { + "additionalProperties": false, + "properties": { + "EvaluationOrder": { + "type": "number" + }, + "Segment": { + "type": "string" + }, + "Weights": { + "items": { + "$ref": "#/definitions/AWS::Evidently::Launch.GroupToWeight" + }, + "type": "array" + } + }, + "required": [ + "EvaluationOrder", + "Segment", + "Weights" + ], + "type": "object" + }, "AWS::Evidently::Launch.StepConfig": { "additionalProperties": false, "properties": { @@ -60235,6 +60264,12 @@ var SamSchema = `{ }, "type": "array" }, + "SegmentOverrides": { + "items": { + "$ref": "#/definitions/AWS::Evidently::Launch.SegmentOverride" + }, + "type": "array" + }, "StartTime": { "type": "string" } diff --git a/schema/sam.schema.json b/schema/sam.schema.json index 1cd5a87446..0360c1b6f5 100644 --- a/schema/sam.schema.json +++ b/schema/sam.schema.json @@ -59751,12 +59751,18 @@ "RandomizationSalt": { "type": "string" }, + "RemoveSegment": { + "type": "boolean" + }, "RunningStatus": { "$ref": "#/definitions/AWS::Evidently::Experiment.RunningStatusObject" }, "SamplingRate": { "type": "number" }, + "Segment": { + "type": "string" + }, "Tags": { "items": { "$ref": "#/definitions/Tag" @@ -60221,6 +60227,29 @@ ], "type": "object" }, + "AWS::Evidently::Launch.SegmentOverride": { + "additionalProperties": false, + "properties": { + "EvaluationOrder": { + "type": "number" + }, + "Segment": { + "type": "string" + }, + "Weights": { + "items": { + "$ref": "#/definitions/AWS::Evidently::Launch.GroupToWeight" + }, + "type": "array" + } + }, + "required": [ + "EvaluationOrder", + "Segment", + "Weights" + ], + "type": "object" + }, "AWS::Evidently::Launch.StepConfig": { "additionalProperties": false, "properties": { @@ -60230,6 +60259,12 @@ }, "type": "array" }, + "SegmentOverrides": { + "items": { + "$ref": "#/definitions/AWS::Evidently::Launch.SegmentOverride" + }, + "type": "array" + }, "StartTime": { "type": "string" }