diff --git a/cloudformation/all.go b/cloudformation/all.go index 53f7af583f..1ec5e7f7b9 100644 --- a/cloudformation/all.go +++ b/cloudformation/all.go @@ -606,6 +606,7 @@ func AllResources() map[string]Resource { "AWS::Evidently::Feature": &evidently.Feature{}, "AWS::Evidently::Launch": &evidently.Launch{}, "AWS::Evidently::Project": &evidently.Project{}, + "AWS::Evidently::Segment": &evidently.Segment{}, "AWS::FIS::ExperimentTemplate": &fis.ExperimentTemplate{}, "AWS::FMS::NotificationChannel": &fms.NotificationChannel{}, "AWS::FMS::Policy": &fms.Policy{}, @@ -10760,6 +10761,30 @@ func (t *Template) GetEvidentlyProjectWithName(name string) (*evidently.Project, return nil, fmt.Errorf("resource %q of type evidently.Project not found", name) } +// GetAllEvidentlySegmentResources retrieves all evidently.Segment items from an AWS CloudFormation template +func (t *Template) GetAllEvidentlySegmentResources() map[string]*evidently.Segment { + results := map[string]*evidently.Segment{} + for name, untyped := range t.Resources { + switch resource := untyped.(type) { + case *evidently.Segment: + results[name] = resource + } + } + return results +} + +// GetEvidentlySegmentWithName retrieves all evidently.Segment items from an AWS CloudFormation template +// whose logical ID matches the provided name. Returns an error if not found. +func (t *Template) GetEvidentlySegmentWithName(name string) (*evidently.Segment, error) { + if untyped, ok := t.Resources[name]; ok { + switch resource := untyped.(type) { + case *evidently.Segment: + return resource, nil + } + } + return nil, fmt.Errorf("resource %q of type evidently.Segment 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{} diff --git a/cloudformation/appflow/aws-appflow-flow_scheduledtriggerproperties.go b/cloudformation/appflow/aws-appflow-flow_scheduledtriggerproperties.go index 3b710a285a..362210f971 100644 --- a/cloudformation/appflow/aws-appflow-flow_scheduledtriggerproperties.go +++ b/cloudformation/appflow/aws-appflow-flow_scheduledtriggerproperties.go @@ -15,6 +15,11 @@ type Flow_ScheduledTriggerProperties struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-scheduledtriggerproperties.html#cfn-appflow-flow-scheduledtriggerproperties-datapullmode DataPullMode *string `json:"DataPullMode,omitempty"` + // FirstExecutionFrom AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-scheduledtriggerproperties.html#cfn-appflow-flow-scheduledtriggerproperties-firstexecutionfrom + FirstExecutionFrom *float64 `json:"FirstExecutionFrom,omitempty"` + // FlowErrorDeactivationThreshold AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appflow-flow-scheduledtriggerproperties.html#cfn-appflow-flow-scheduledtriggerproperties-flowerrordeactivationthreshold diff --git a/cloudformation/cloudfront/aws-cloudfront-distribution_distributionconfig.go b/cloudformation/cloudfront/aws-cloudfront-distribution_distributionconfig.go index 8e27c20174..a73f3b2864 100644 --- a/cloudformation/cloudfront/aws-cloudfront-distribution_distributionconfig.go +++ b/cloudformation/cloudfront/aws-cloudfront-distribution_distributionconfig.go @@ -41,9 +41,9 @@ type Distribution_DistributionConfig struct { CustomOrigin *Distribution_LegacyCustomOrigin `json:"CustomOrigin,omitempty"` // DefaultCacheBehavior AWS CloudFormation Property - // Required: false + // Required: true // 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"` + DefaultCacheBehavior *Distribution_DefaultCacheBehavior `json:"DefaultCacheBehavior"` // DefaultRootObject AWS CloudFormation Property // Required: false diff --git a/cloudformation/cloudwatch/aws-cloudwatch-compositealarm.go b/cloudformation/cloudwatch/aws-cloudwatch-compositealarm.go index b8e3e9c429..bec19d3540 100644 --- a/cloudformation/cloudwatch/aws-cloudwatch-compositealarm.go +++ b/cloudformation/cloudwatch/aws-cloudwatch-compositealarm.go @@ -19,6 +19,21 @@ type CompositeAlarm struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html#cfn-cloudwatch-compositealarm-actionsenabled ActionsEnabled *bool `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 *string `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 *int `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 *int `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 diff --git a/cloudformation/ec2/aws-ec2-host.go b/cloudformation/ec2/aws-ec2-host.go index f78d6ca154..85c883bd6a 100644 --- a/cloudformation/ec2/aws-ec2-host.go +++ b/cloudformation/ec2/aws-ec2-host.go @@ -29,10 +29,20 @@ type Host struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html#cfn-ec2-host-hostrecovery HostRecovery *string `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 *string `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 string `json:"InstanceType"` + InstanceType *string `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 *string `json:"OutpostArn,omitempty"` // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/cloudformation/ec2/aws-ec2-vpcendpointservice.go b/cloudformation/ec2/aws-ec2-vpcendpointservice.go index a19d1e60c7..0758da9766 100644 --- a/cloudformation/ec2/aws-ec2-vpcendpointservice.go +++ b/cloudformation/ec2/aws-ec2-vpcendpointservice.go @@ -19,6 +19,11 @@ type VPCEndpointService struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpointservice.html#cfn-ec2-vpcendpointservice-acceptancerequired AcceptanceRequired *bool `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 *bool `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 diff --git a/cloudformation/evidently/aws-evidently-segment.go b/cloudformation/evidently/aws-evidently-segment.go new file mode 100644 index 0000000000..563e071b0f --- /dev/null +++ b/cloudformation/evidently/aws-evidently-segment.go @@ -0,0 +1,135 @@ +// Code generated by "go generate". Please don't change this file directly. + +package evidently + +import ( + "bytes" + "encoding/json" + "fmt" + + "github.com/awslabs/goformation/v6/cloudformation/policies" + "github.com/awslabs/goformation/v6/cloudformation/tags" +) + +// Segment AWS CloudFormation Resource (AWS::Evidently::Segment) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-segment.html +type Segment struct { + + // Description AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-segment.html#cfn-evidently-segment-description + Description *string `json:"Description,omitempty"` + + // Name AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-segment.html#cfn-evidently-segment-name + Name string `json:"Name"` + + // Pattern AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-segment.html#cfn-evidently-segment-pattern + Pattern *string `json:"Pattern,omitempty"` + + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-evidently-segment.html#cfn-evidently-segment-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 *Segment) AWSCloudFormationType() string { + return "AWS::Evidently::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 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 { + 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 { + 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/guardduty/aws-guardduty-detector.go b/cloudformation/guardduty/aws-guardduty-detector.go index 91eb9e99bc..691d3e91c1 100644 --- a/cloudformation/guardduty/aws-guardduty-detector.go +++ b/cloudformation/guardduty/aws-guardduty-detector.go @@ -8,6 +8,7 @@ import ( "fmt" "github.com/awslabs/goformation/v6/cloudformation/policies" + "github.com/awslabs/goformation/v6/cloudformation/tags" ) // Detector AWS CloudFormation Resource (AWS::GuardDuty::Detector) @@ -29,6 +30,11 @@ type Detector struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html#cfn-guardduty-detector-findingpublishingfrequency FindingPublishingFrequency *string `json:"FindingPublishingFrequency,omitempty"` + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-detector.html#cfn-guardduty-detector-tags + Tags *[]tags.Tag `json:"Tags,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/cloudformation/guardduty/aws-guardduty-filter.go b/cloudformation/guardduty/aws-guardduty-filter.go index d7563a147c..45fab5d94f 100644 --- a/cloudformation/guardduty/aws-guardduty-filter.go +++ b/cloudformation/guardduty/aws-guardduty-filter.go @@ -8,6 +8,7 @@ import ( "fmt" "github.com/awslabs/goformation/v6/cloudformation/policies" + "github.com/awslabs/goformation/v6/cloudformation/tags" ) // Filter AWS CloudFormation Resource (AWS::GuardDuty::Filter) @@ -44,6 +45,11 @@ type Filter struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-filter.html#cfn-guardduty-filter-rank Rank int `json:"Rank"` + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-filter.html#cfn-guardduty-filter-tags + Tags *[]tags.Tag `json:"Tags,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/cloudformation/guardduty/aws-guardduty-ipset.go b/cloudformation/guardduty/aws-guardduty-ipset.go index c05dd3247f..7141032fee 100644 --- a/cloudformation/guardduty/aws-guardduty-ipset.go +++ b/cloudformation/guardduty/aws-guardduty-ipset.go @@ -8,6 +8,7 @@ import ( "fmt" "github.com/awslabs/goformation/v6/cloudformation/policies" + "github.com/awslabs/goformation/v6/cloudformation/tags" ) // IPSet AWS CloudFormation Resource (AWS::GuardDuty::IPSet) @@ -39,6 +40,11 @@ type IPSet struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html#cfn-guardduty-ipset-name Name *string `json:"Name,omitempty"` + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-ipset.html#cfn-guardduty-ipset-tags + Tags *[]tags.Tag `json:"Tags,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/cloudformation/guardduty/aws-guardduty-threatintelset.go b/cloudformation/guardduty/aws-guardduty-threatintelset.go index b9c09775f6..865e31b693 100644 --- a/cloudformation/guardduty/aws-guardduty-threatintelset.go +++ b/cloudformation/guardduty/aws-guardduty-threatintelset.go @@ -8,6 +8,7 @@ import ( "fmt" "github.com/awslabs/goformation/v6/cloudformation/policies" + "github.com/awslabs/goformation/v6/cloudformation/tags" ) // ThreatIntelSet AWS CloudFormation Resource (AWS::GuardDuty::ThreatIntelSet) @@ -39,6 +40,11 @@ type ThreatIntelSet struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-threatintelset.html#cfn-guardduty-threatintelset-name Name *string `json:"Name,omitempty"` + // Tags AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-guardduty-threatintelset.html#cfn-guardduty-threatintelset-tags + Tags *[]tags.Tag `json:"Tags,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/cloudformation/sso/aws-sso-permissionset.go b/cloudformation/sso/aws-sso-permissionset.go index 3d5725a72a..26a5cb4d30 100644 --- a/cloudformation/sso/aws-sso-permissionset.go +++ b/cloudformation/sso/aws-sso-permissionset.go @@ -15,6 +15,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html type PermissionSet struct { + // CustomerManagedPolicyReferences AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html#cfn-sso-permissionset-customermanagedpolicyreferences + CustomerManagedPolicyReferences *[]PermissionSet_CustomerManagedPolicyReference `json:"CustomerManagedPolicyReferences,omitempty"` + // Description AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html#cfn-sso-permissionset-description @@ -40,6 +45,11 @@ type PermissionSet struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html#cfn-sso-permissionset-name Name string `json:"Name"` + // PermissionsBoundary AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html#cfn-sso-permissionset-permissionsboundary + PermissionsBoundary *PermissionSet_PermissionsBoundary `json:"PermissionsBoundary,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 diff --git a/cloudformation/sso/aws-sso-permissionset_customermanagedpolicyreference.go b/cloudformation/sso/aws-sso-permissionset_customermanagedpolicyreference.go new file mode 100644 index 0000000000..f5d06d01a5 --- /dev/null +++ b/cloudformation/sso/aws-sso-permissionset_customermanagedpolicyreference.go @@ -0,0 +1,42 @@ +// Code generated by "go generate". Please don't change this file directly. + +package sso + +import ( + "github.com/awslabs/goformation/v6/cloudformation/policies" +) + +// PermissionSet_CustomerManagedPolicyReference AWS CloudFormation Resource (AWS::SSO::PermissionSet.CustomerManagedPolicyReference) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-permissionset-customermanagedpolicyreference.html +type PermissionSet_CustomerManagedPolicyReference struct { + + // Name AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-permissionset-customermanagedpolicyreference.html#cfn-sso-permissionset-customermanagedpolicyreference-name + Name string `json:"Name"` + + // Path AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-permissionset-customermanagedpolicyreference.html#cfn-sso-permissionset-customermanagedpolicyreference-path + Path *string `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 *PermissionSet_CustomerManagedPolicyReference) AWSCloudFormationType() string { + return "AWS::SSO::PermissionSet.CustomerManagedPolicyReference" +} diff --git a/cloudformation/sso/aws-sso-permissionset_permissionsboundary.go b/cloudformation/sso/aws-sso-permissionset_permissionsboundary.go new file mode 100644 index 0000000000..9975424845 --- /dev/null +++ b/cloudformation/sso/aws-sso-permissionset_permissionsboundary.go @@ -0,0 +1,42 @@ +// Code generated by "go generate". Please don't change this file directly. + +package sso + +import ( + "github.com/awslabs/goformation/v6/cloudformation/policies" +) + +// PermissionSet_PermissionsBoundary AWS CloudFormation Resource (AWS::SSO::PermissionSet.PermissionsBoundary) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-permissionset-permissionsboundary.html +type PermissionSet_PermissionsBoundary struct { + + // CustomerManagedPolicyReference AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-permissionset-permissionsboundary.html#cfn-sso-permissionset-permissionsboundary-customermanagedpolicyreference + CustomerManagedPolicyReference *PermissionSet_CustomerManagedPolicyReference `json:"CustomerManagedPolicyReference,omitempty"` + + // ManagedPolicyArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sso-permissionset-permissionsboundary.html#cfn-sso-permissionset-permissionsboundary-managedpolicyarn + ManagedPolicyArn *string `json:"ManagedPolicyArn,omitempty"` + + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy + AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` + + // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy + AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` + + // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource + AWSCloudFormationDependsOn []string `json:"-"` + + // AWSCloudFormationMetadata stores structured data associated with this resource + AWSCloudFormationMetadata map[string]interface{} `json:"-"` + + // AWSCloudFormationCondition stores the logical ID of 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_PermissionsBoundary) AWSCloudFormationType() string { + return "AWS::SSO::PermissionSet.PermissionsBoundary" +} diff --git a/cloudformation/transfer/aws-transfer-server_as2transport.go b/cloudformation/transfer/aws-transfer-server_as2transport.go new file mode 100644 index 0000000000..414ed1d6de --- /dev/null +++ b/cloudformation/transfer/aws-transfer-server_as2transport.go @@ -0,0 +1,32 @@ +// Code generated by "go generate". Please don't change this file directly. + +package transfer + +import ( + "github.com/awslabs/goformation/v6/cloudformation/policies" +) + +// Server_As2Transport AWS CloudFormation Resource (AWS::Transfer::Server.As2Transport) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-as2transport.html +type Server_As2Transport 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_As2Transport) AWSCloudFormationType() string { + return "AWS::Transfer::Server.As2Transport" +} diff --git a/cloudformation/transfer/aws-transfer-server_protocoldetails.go b/cloudformation/transfer/aws-transfer-server_protocoldetails.go index 6c106cf85d..f2ba56a7eb 100644 --- a/cloudformation/transfer/aws-transfer-server_protocoldetails.go +++ b/cloudformation/transfer/aws-transfer-server_protocoldetails.go @@ -10,6 +10,11 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-protocoldetails.html type Server_ProtocolDetails struct { + // As2Transports AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-transfer-server-protocoldetails.html#cfn-transfer-server-protocoldetails-as2transports + As2Transports *[]Server_As2Transport `json:"As2Transports,omitempty"` + // 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 diff --git a/schema/cdk.go b/schema/cdk.go index 1f69499db6..0a3575def4 100644 --- a/schema/cdk.go +++ b/schema/cdk.go @@ -8296,6 +8296,9 @@ var CdkSchema = `{ "DataPullMode": { "type": "string" }, + "FirstExecutionFrom": { + "type": "number" + }, "FlowErrorDeactivationThreshold": { "type": "number" }, @@ -22998,6 +23001,7 @@ var CdkSchema = `{ } }, "required": [ + "DefaultCacheBehavior", "Enabled" ], "type": "object" @@ -25216,6 +25220,15 @@ var CdkSchema = `{ "ActionsEnabled": { "type": "boolean" }, + "ActionsSuppressor": { + "type": "string" + }, + "ActionsSuppressorExtensionPeriod": { + "type": "number" + }, + "ActionsSuppressorWaitPeriod": { + "type": "number" + }, "AlarmActions": { "items": { "type": "string" @@ -41831,13 +41844,18 @@ var CdkSchema = `{ "HostRecovery": { "type": "string" }, + "InstanceFamily": { + "type": "string" + }, "InstanceType": { "type": "string" + }, + "OutpostArn": { + "type": "string" } }, "required": [ - "AvailabilityZone", - "InstanceType" + "AvailabilityZone" ], "type": "object" }, @@ -48776,6 +48794,9 @@ var CdkSchema = `{ "AcceptanceRequired": { "type": "boolean" }, + "ContributorInsightsEnabled": { + "type": "boolean" + }, "GatewayLoadBalancerArns": { "items": { "type": "string" @@ -60445,6 +60466,83 @@ var CdkSchema = `{ ], "type": "object" }, + "AWS::Evidently::Segment": { + "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": { + "Description": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "Pattern": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Evidently::Segment" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, "AWS::FIS::ExperimentTemplate": { "additionalProperties": false, "properties": { @@ -69661,6 +69759,12 @@ var CdkSchema = `{ }, "FindingPublishingFrequency": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -69780,6 +69884,12 @@ var CdkSchema = `{ }, "Rank": { "type": "number" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -69928,6 +70038,12 @@ var CdkSchema = `{ }, "Name": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -70162,6 +70278,12 @@ var CdkSchema = `{ }, "Name": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -125875,6 +125997,12 @@ var CdkSchema = `{ "Properties": { "additionalProperties": false, "properties": { + "CustomerManagedPolicyReferences": { + "items": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.CustomerManagedPolicyReference" + }, + "type": "array" + }, "Description": { "type": "string" }, @@ -125893,6 +126021,9 @@ var CdkSchema = `{ "Name": { "type": "string" }, + "PermissionsBoundary": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.PermissionsBoundary" + }, "RelayStateType": { "type": "string" }, @@ -125933,6 +126064,33 @@ var CdkSchema = `{ ], "type": "object" }, + "AWS::SSO::PermissionSet.CustomerManagedPolicyReference": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + }, + "Path": { + "type": "string" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, + "AWS::SSO::PermissionSet.PermissionsBoundary": { + "additionalProperties": false, + "properties": { + "CustomerManagedPolicyReference": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.CustomerManagedPolicyReference" + }, + "ManagedPolicyArn": { + "type": "string" + } + }, + "type": "object" + }, "AWS::SageMaker::App": { "additionalProperties": false, "properties": { @@ -134989,6 +135147,11 @@ var CdkSchema = `{ ], "type": "object" }, + "AWS::Transfer::Server.As2Transport": { + "additionalProperties": false, + "properties": {}, + "type": "object" + }, "AWS::Transfer::Server.EndpointDetails": { "additionalProperties": false, "properties": { @@ -135045,6 +135208,12 @@ var CdkSchema = `{ "AWS::Transfer::Server.ProtocolDetails": { "additionalProperties": false, "properties": { + "As2Transports": { + "items": { + "$ref": "#/definitions/AWS::Transfer::Server.As2Transport" + }, + "type": "array" + }, "PassiveIp": { "type": "string" }, @@ -141548,6 +141717,9 @@ var CdkSchema = `{ { "$ref": "#/definitions/AWS::Evidently::Project" }, + { + "$ref": "#/definitions/AWS::Evidently::Segment" + }, { "$ref": "#/definitions/AWS::FIS::ExperimentTemplate" }, diff --git a/schema/cdk.schema.json b/schema/cdk.schema.json index 73103a0e09..8d58c12a1b 100644 --- a/schema/cdk.schema.json +++ b/schema/cdk.schema.json @@ -8291,6 +8291,9 @@ "DataPullMode": { "type": "string" }, + "FirstExecutionFrom": { + "type": "number" + }, "FlowErrorDeactivationThreshold": { "type": "number" }, @@ -22993,6 +22996,7 @@ } }, "required": [ + "DefaultCacheBehavior", "Enabled" ], "type": "object" @@ -25211,6 +25215,15 @@ "ActionsEnabled": { "type": "boolean" }, + "ActionsSuppressor": { + "type": "string" + }, + "ActionsSuppressorExtensionPeriod": { + "type": "number" + }, + "ActionsSuppressorWaitPeriod": { + "type": "number" + }, "AlarmActions": { "items": { "type": "string" @@ -41826,13 +41839,18 @@ "HostRecovery": { "type": "string" }, + "InstanceFamily": { + "type": "string" + }, "InstanceType": { "type": "string" + }, + "OutpostArn": { + "type": "string" } }, "required": [ - "AvailabilityZone", - "InstanceType" + "AvailabilityZone" ], "type": "object" }, @@ -48771,6 +48789,9 @@ "AcceptanceRequired": { "type": "boolean" }, + "ContributorInsightsEnabled": { + "type": "boolean" + }, "GatewayLoadBalancerArns": { "items": { "type": "string" @@ -60440,6 +60461,83 @@ ], "type": "object" }, + "AWS::Evidently::Segment": { + "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": { + "Description": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "Pattern": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Evidently::Segment" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, "AWS::FIS::ExperimentTemplate": { "additionalProperties": false, "properties": { @@ -69656,6 +69754,12 @@ }, "FindingPublishingFrequency": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -69775,6 +69879,12 @@ }, "Rank": { "type": "number" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -69923,6 +70033,12 @@ }, "Name": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -70157,6 +70273,12 @@ }, "Name": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -125870,6 +125992,12 @@ "Properties": { "additionalProperties": false, "properties": { + "CustomerManagedPolicyReferences": { + "items": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.CustomerManagedPolicyReference" + }, + "type": "array" + }, "Description": { "type": "string" }, @@ -125888,6 +126016,9 @@ "Name": { "type": "string" }, + "PermissionsBoundary": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.PermissionsBoundary" + }, "RelayStateType": { "type": "string" }, @@ -125928,6 +126059,33 @@ ], "type": "object" }, + "AWS::SSO::PermissionSet.CustomerManagedPolicyReference": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + }, + "Path": { + "type": "string" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, + "AWS::SSO::PermissionSet.PermissionsBoundary": { + "additionalProperties": false, + "properties": { + "CustomerManagedPolicyReference": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.CustomerManagedPolicyReference" + }, + "ManagedPolicyArn": { + "type": "string" + } + }, + "type": "object" + }, "AWS::SageMaker::App": { "additionalProperties": false, "properties": { @@ -134984,6 +135142,11 @@ ], "type": "object" }, + "AWS::Transfer::Server.As2Transport": { + "additionalProperties": false, + "properties": {}, + "type": "object" + }, "AWS::Transfer::Server.EndpointDetails": { "additionalProperties": false, "properties": { @@ -135040,6 +135203,12 @@ "AWS::Transfer::Server.ProtocolDetails": { "additionalProperties": false, "properties": { + "As2Transports": { + "items": { + "$ref": "#/definitions/AWS::Transfer::Server.As2Transport" + }, + "type": "array" + }, "PassiveIp": { "type": "string" }, @@ -141543,6 +141712,9 @@ { "$ref": "#/definitions/AWS::Evidently::Project" }, + { + "$ref": "#/definitions/AWS::Evidently::Segment" + }, { "$ref": "#/definitions/AWS::FIS::ExperimentTemplate" }, diff --git a/schema/cloudformation.go b/schema/cloudformation.go index 04c2351396..c8b8a5694c 100644 --- a/schema/cloudformation.go +++ b/schema/cloudformation.go @@ -8296,6 +8296,9 @@ var CloudformationSchema = `{ "DataPullMode": { "type": "string" }, + "FirstExecutionFrom": { + "type": "number" + }, "FlowErrorDeactivationThreshold": { "type": "number" }, @@ -22937,6 +22940,7 @@ var CloudformationSchema = `{ } }, "required": [ + "DefaultCacheBehavior", "Enabled" ], "type": "object" @@ -25155,6 +25159,15 @@ var CloudformationSchema = `{ "ActionsEnabled": { "type": "boolean" }, + "ActionsSuppressor": { + "type": "string" + }, + "ActionsSuppressorExtensionPeriod": { + "type": "number" + }, + "ActionsSuppressorWaitPeriod": { + "type": "number" + }, "AlarmActions": { "items": { "type": "string" @@ -41770,13 +41783,18 @@ var CloudformationSchema = `{ "HostRecovery": { "type": "string" }, + "InstanceFamily": { + "type": "string" + }, "InstanceType": { "type": "string" + }, + "OutpostArn": { + "type": "string" } }, "required": [ - "AvailabilityZone", - "InstanceType" + "AvailabilityZone" ], "type": "object" }, @@ -48715,6 +48733,9 @@ var CloudformationSchema = `{ "AcceptanceRequired": { "type": "boolean" }, + "ContributorInsightsEnabled": { + "type": "boolean" + }, "GatewayLoadBalancerArns": { "items": { "type": "string" @@ -60384,6 +60405,83 @@ var CloudformationSchema = `{ ], "type": "object" }, + "AWS::Evidently::Segment": { + "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": { + "Description": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "Pattern": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Evidently::Segment" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, "AWS::FIS::ExperimentTemplate": { "additionalProperties": false, "properties": { @@ -69600,6 +69698,12 @@ var CloudformationSchema = `{ }, "FindingPublishingFrequency": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -69719,6 +69823,12 @@ var CloudformationSchema = `{ }, "Rank": { "type": "number" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -69867,6 +69977,12 @@ var CloudformationSchema = `{ }, "Name": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -70101,6 +70217,12 @@ var CloudformationSchema = `{ }, "Name": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -125814,6 +125936,12 @@ var CloudformationSchema = `{ "Properties": { "additionalProperties": false, "properties": { + "CustomerManagedPolicyReferences": { + "items": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.CustomerManagedPolicyReference" + }, + "type": "array" + }, "Description": { "type": "string" }, @@ -125832,6 +125960,9 @@ var CloudformationSchema = `{ "Name": { "type": "string" }, + "PermissionsBoundary": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.PermissionsBoundary" + }, "RelayStateType": { "type": "string" }, @@ -125872,6 +126003,33 @@ var CloudformationSchema = `{ ], "type": "object" }, + "AWS::SSO::PermissionSet.CustomerManagedPolicyReference": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + }, + "Path": { + "type": "string" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, + "AWS::SSO::PermissionSet.PermissionsBoundary": { + "additionalProperties": false, + "properties": { + "CustomerManagedPolicyReference": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.CustomerManagedPolicyReference" + }, + "ManagedPolicyArn": { + "type": "string" + } + }, + "type": "object" + }, "AWS::SageMaker::App": { "additionalProperties": false, "properties": { @@ -134928,6 +135086,11 @@ var CloudformationSchema = `{ ], "type": "object" }, + "AWS::Transfer::Server.As2Transport": { + "additionalProperties": false, + "properties": {}, + "type": "object" + }, "AWS::Transfer::Server.EndpointDetails": { "additionalProperties": false, "properties": { @@ -134984,6 +135147,12 @@ var CloudformationSchema = `{ "AWS::Transfer::Server.ProtocolDetails": { "additionalProperties": false, "properties": { + "As2Transports": { + "items": { + "$ref": "#/definitions/AWS::Transfer::Server.As2Transport" + }, + "type": "array" + }, "PassiveIp": { "type": "string" }, @@ -141484,6 +141653,9 @@ var CloudformationSchema = `{ { "$ref": "#/definitions/AWS::Evidently::Project" }, + { + "$ref": "#/definitions/AWS::Evidently::Segment" + }, { "$ref": "#/definitions/AWS::FIS::ExperimentTemplate" }, diff --git a/schema/cloudformation.schema.json b/schema/cloudformation.schema.json index c1ab7e2262..bc6478015c 100644 --- a/schema/cloudformation.schema.json +++ b/schema/cloudformation.schema.json @@ -8291,6 +8291,9 @@ "DataPullMode": { "type": "string" }, + "FirstExecutionFrom": { + "type": "number" + }, "FlowErrorDeactivationThreshold": { "type": "number" }, @@ -22932,6 +22935,7 @@ } }, "required": [ + "DefaultCacheBehavior", "Enabled" ], "type": "object" @@ -25150,6 +25154,15 @@ "ActionsEnabled": { "type": "boolean" }, + "ActionsSuppressor": { + "type": "string" + }, + "ActionsSuppressorExtensionPeriod": { + "type": "number" + }, + "ActionsSuppressorWaitPeriod": { + "type": "number" + }, "AlarmActions": { "items": { "type": "string" @@ -41765,13 +41778,18 @@ "HostRecovery": { "type": "string" }, + "InstanceFamily": { + "type": "string" + }, "InstanceType": { "type": "string" + }, + "OutpostArn": { + "type": "string" } }, "required": [ - "AvailabilityZone", - "InstanceType" + "AvailabilityZone" ], "type": "object" }, @@ -48710,6 +48728,9 @@ "AcceptanceRequired": { "type": "boolean" }, + "ContributorInsightsEnabled": { + "type": "boolean" + }, "GatewayLoadBalancerArns": { "items": { "type": "string" @@ -60379,6 +60400,83 @@ ], "type": "object" }, + "AWS::Evidently::Segment": { + "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": { + "Description": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "Pattern": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Evidently::Segment" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, "AWS::FIS::ExperimentTemplate": { "additionalProperties": false, "properties": { @@ -69595,6 +69693,12 @@ }, "FindingPublishingFrequency": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -69714,6 +69818,12 @@ }, "Rank": { "type": "number" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -69862,6 +69972,12 @@ }, "Name": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -70096,6 +70212,12 @@ }, "Name": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -125809,6 +125931,12 @@ "Properties": { "additionalProperties": false, "properties": { + "CustomerManagedPolicyReferences": { + "items": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.CustomerManagedPolicyReference" + }, + "type": "array" + }, "Description": { "type": "string" }, @@ -125827,6 +125955,9 @@ "Name": { "type": "string" }, + "PermissionsBoundary": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.PermissionsBoundary" + }, "RelayStateType": { "type": "string" }, @@ -125867,6 +125998,33 @@ ], "type": "object" }, + "AWS::SSO::PermissionSet.CustomerManagedPolicyReference": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + }, + "Path": { + "type": "string" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, + "AWS::SSO::PermissionSet.PermissionsBoundary": { + "additionalProperties": false, + "properties": { + "CustomerManagedPolicyReference": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.CustomerManagedPolicyReference" + }, + "ManagedPolicyArn": { + "type": "string" + } + }, + "type": "object" + }, "AWS::SageMaker::App": { "additionalProperties": false, "properties": { @@ -134923,6 +135081,11 @@ ], "type": "object" }, + "AWS::Transfer::Server.As2Transport": { + "additionalProperties": false, + "properties": {}, + "type": "object" + }, "AWS::Transfer::Server.EndpointDetails": { "additionalProperties": false, "properties": { @@ -134979,6 +135142,12 @@ "AWS::Transfer::Server.ProtocolDetails": { "additionalProperties": false, "properties": { + "As2Transports": { + "items": { + "$ref": "#/definitions/AWS::Transfer::Server.As2Transport" + }, + "type": "array" + }, "PassiveIp": { "type": "string" }, @@ -141479,6 +141648,9 @@ { "$ref": "#/definitions/AWS::Evidently::Project" }, + { + "$ref": "#/definitions/AWS::Evidently::Segment" + }, { "$ref": "#/definitions/AWS::FIS::ExperimentTemplate" }, diff --git a/schema/sam.go b/schema/sam.go index f7e2c0dc2b..c341b5737c 100644 --- a/schema/sam.go +++ b/schema/sam.go @@ -8296,6 +8296,9 @@ var SamSchema = `{ "DataPullMode": { "type": "string" }, + "FirstExecutionFrom": { + "type": "number" + }, "FlowErrorDeactivationThreshold": { "type": "number" }, @@ -22937,6 +22940,7 @@ var SamSchema = `{ } }, "required": [ + "DefaultCacheBehavior", "Enabled" ], "type": "object" @@ -25155,6 +25159,15 @@ var SamSchema = `{ "ActionsEnabled": { "type": "boolean" }, + "ActionsSuppressor": { + "type": "string" + }, + "ActionsSuppressorExtensionPeriod": { + "type": "number" + }, + "ActionsSuppressorWaitPeriod": { + "type": "number" + }, "AlarmActions": { "items": { "type": "string" @@ -41770,13 +41783,18 @@ var SamSchema = `{ "HostRecovery": { "type": "string" }, + "InstanceFamily": { + "type": "string" + }, "InstanceType": { "type": "string" + }, + "OutpostArn": { + "type": "string" } }, "required": [ - "AvailabilityZone", - "InstanceType" + "AvailabilityZone" ], "type": "object" }, @@ -48715,6 +48733,9 @@ var SamSchema = `{ "AcceptanceRequired": { "type": "boolean" }, + "ContributorInsightsEnabled": { + "type": "boolean" + }, "GatewayLoadBalancerArns": { "items": { "type": "string" @@ -60384,6 +60405,83 @@ var SamSchema = `{ ], "type": "object" }, + "AWS::Evidently::Segment": { + "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": { + "Description": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "Pattern": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Evidently::Segment" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, "AWS::FIS::ExperimentTemplate": { "additionalProperties": false, "properties": { @@ -69600,6 +69698,12 @@ var SamSchema = `{ }, "FindingPublishingFrequency": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -69719,6 +69823,12 @@ var SamSchema = `{ }, "Rank": { "type": "number" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -69867,6 +69977,12 @@ var SamSchema = `{ }, "Name": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -70101,6 +70217,12 @@ var SamSchema = `{ }, "Name": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -125814,6 +125936,12 @@ var SamSchema = `{ "Properties": { "additionalProperties": false, "properties": { + "CustomerManagedPolicyReferences": { + "items": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.CustomerManagedPolicyReference" + }, + "type": "array" + }, "Description": { "type": "string" }, @@ -125832,6 +125960,9 @@ var SamSchema = `{ "Name": { "type": "string" }, + "PermissionsBoundary": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.PermissionsBoundary" + }, "RelayStateType": { "type": "string" }, @@ -125872,6 +126003,33 @@ var SamSchema = `{ ], "type": "object" }, + "AWS::SSO::PermissionSet.CustomerManagedPolicyReference": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + }, + "Path": { + "type": "string" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, + "AWS::SSO::PermissionSet.PermissionsBoundary": { + "additionalProperties": false, + "properties": { + "CustomerManagedPolicyReference": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.CustomerManagedPolicyReference" + }, + "ManagedPolicyArn": { + "type": "string" + } + }, + "type": "object" + }, "AWS::SageMaker::App": { "additionalProperties": false, "properties": { @@ -137520,6 +137678,11 @@ var SamSchema = `{ ], "type": "object" }, + "AWS::Transfer::Server.As2Transport": { + "additionalProperties": false, + "properties": {}, + "type": "object" + }, "AWS::Transfer::Server.EndpointDetails": { "additionalProperties": false, "properties": { @@ -137576,6 +137739,12 @@ var SamSchema = `{ "AWS::Transfer::Server.ProtocolDetails": { "additionalProperties": false, "properties": { + "As2Transports": { + "items": { + "$ref": "#/definitions/AWS::Transfer::Server.As2Transport" + }, + "type": "array" + }, "PassiveIp": { "type": "string" }, @@ -144365,6 +144534,9 @@ var SamSchema = `{ { "$ref": "#/definitions/AWS::Evidently::Project" }, + { + "$ref": "#/definitions/AWS::Evidently::Segment" + }, { "$ref": "#/definitions/AWS::FIS::ExperimentTemplate" }, diff --git a/schema/sam.schema.json b/schema/sam.schema.json index 0360c1b6f5..599691d842 100644 --- a/schema/sam.schema.json +++ b/schema/sam.schema.json @@ -8291,6 +8291,9 @@ "DataPullMode": { "type": "string" }, + "FirstExecutionFrom": { + "type": "number" + }, "FlowErrorDeactivationThreshold": { "type": "number" }, @@ -22932,6 +22935,7 @@ } }, "required": [ + "DefaultCacheBehavior", "Enabled" ], "type": "object" @@ -25150,6 +25154,15 @@ "ActionsEnabled": { "type": "boolean" }, + "ActionsSuppressor": { + "type": "string" + }, + "ActionsSuppressorExtensionPeriod": { + "type": "number" + }, + "ActionsSuppressorWaitPeriod": { + "type": "number" + }, "AlarmActions": { "items": { "type": "string" @@ -41765,13 +41778,18 @@ "HostRecovery": { "type": "string" }, + "InstanceFamily": { + "type": "string" + }, "InstanceType": { "type": "string" + }, + "OutpostArn": { + "type": "string" } }, "required": [ - "AvailabilityZone", - "InstanceType" + "AvailabilityZone" ], "type": "object" }, @@ -48710,6 +48728,9 @@ "AcceptanceRequired": { "type": "boolean" }, + "ContributorInsightsEnabled": { + "type": "boolean" + }, "GatewayLoadBalancerArns": { "items": { "type": "string" @@ -60379,6 +60400,83 @@ ], "type": "object" }, + "AWS::Evidently::Segment": { + "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": { + "Description": { + "type": "string" + }, + "Name": { + "type": "string" + }, + "Pattern": { + "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Evidently::Segment" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, "AWS::FIS::ExperimentTemplate": { "additionalProperties": false, "properties": { @@ -69595,6 +69693,12 @@ }, "FindingPublishingFrequency": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -69714,6 +69818,12 @@ }, "Rank": { "type": "number" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -69862,6 +69972,12 @@ }, "Name": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -70096,6 +70212,12 @@ }, "Name": { "type": "string" + }, + "Tags": { + "items": { + "$ref": "#/definitions/Tag" + }, + "type": "array" } }, "required": [ @@ -125809,6 +125931,12 @@ "Properties": { "additionalProperties": false, "properties": { + "CustomerManagedPolicyReferences": { + "items": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.CustomerManagedPolicyReference" + }, + "type": "array" + }, "Description": { "type": "string" }, @@ -125827,6 +125955,9 @@ "Name": { "type": "string" }, + "PermissionsBoundary": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.PermissionsBoundary" + }, "RelayStateType": { "type": "string" }, @@ -125867,6 +125998,33 @@ ], "type": "object" }, + "AWS::SSO::PermissionSet.CustomerManagedPolicyReference": { + "additionalProperties": false, + "properties": { + "Name": { + "type": "string" + }, + "Path": { + "type": "string" + } + }, + "required": [ + "Name" + ], + "type": "object" + }, + "AWS::SSO::PermissionSet.PermissionsBoundary": { + "additionalProperties": false, + "properties": { + "CustomerManagedPolicyReference": { + "$ref": "#/definitions/AWS::SSO::PermissionSet.CustomerManagedPolicyReference" + }, + "ManagedPolicyArn": { + "type": "string" + } + }, + "type": "object" + }, "AWS::SageMaker::App": { "additionalProperties": false, "properties": { @@ -137515,6 +137673,11 @@ ], "type": "object" }, + "AWS::Transfer::Server.As2Transport": { + "additionalProperties": false, + "properties": {}, + "type": "object" + }, "AWS::Transfer::Server.EndpointDetails": { "additionalProperties": false, "properties": { @@ -137571,6 +137734,12 @@ "AWS::Transfer::Server.ProtocolDetails": { "additionalProperties": false, "properties": { + "As2Transports": { + "items": { + "$ref": "#/definitions/AWS::Transfer::Server.As2Transport" + }, + "type": "array" + }, "PassiveIp": { "type": "string" }, @@ -144360,6 +144529,9 @@ { "$ref": "#/definitions/AWS::Evidently::Project" }, + { + "$ref": "#/definitions/AWS::Evidently::Segment" + }, { "$ref": "#/definitions/AWS::FIS::ExperimentTemplate" },