diff --git a/cloudformation/all.go b/cloudformation/all.go index 739f0fd874..152f1305cc 100644 --- a/cloudformation/all.go +++ b/cloudformation/all.go @@ -582,6 +582,7 @@ func AllResources() map[string]Resource { "AWS::Events::ApiDestination": &events.ApiDestination{}, "AWS::Events::Archive": &events.Archive{}, "AWS::Events::Connection": &events.Connection{}, + "AWS::Events::Endpoint": &events.Endpoint{}, "AWS::Events::EventBus": &events.EventBus{}, "AWS::Events::EventBusPolicy": &events.EventBusPolicy{}, "AWS::Events::Rule": &events.Rule{}, @@ -10306,6 +10307,30 @@ func (t *Template) GetEventsConnectionWithName(name string) (*events.Connection, return nil, fmt.Errorf("resource %q of type events.Connection not found", name) } +// GetAllEventsEndpointResources retrieves all events.Endpoint items from an AWS CloudFormation template +func (t *Template) GetAllEventsEndpointResources() map[string]*events.Endpoint { + results := map[string]*events.Endpoint{} + for name, untyped := range t.Resources { + switch resource := untyped.(type) { + case *events.Endpoint: + results[name] = resource + } + } + return results +} + +// GetEventsEndpointWithName retrieves all events.Endpoint items from an AWS CloudFormation template +// whose logical ID matches the provided name. Returns an error if not found. +func (t *Template) GetEventsEndpointWithName(name string) (*events.Endpoint, error) { + if untyped, ok := t.Resources[name]; ok { + switch resource := untyped.(type) { + case *events.Endpoint: + return resource, nil + } + } + return nil, fmt.Errorf("resource %q of type events.Endpoint not found", name) +} + // GetAllEventsEventBusResources retrieves all events.EventBus items from an AWS CloudFormation template func (t *Template) GetAllEventsEventBusResources() map[string]*events.EventBus { results := map[string]*events.EventBus{} diff --git a/cloudformation/dms/aws-dms-endpoint_oraclesettings.go b/cloudformation/dms/aws-dms-endpoint_oraclesettings.go index 02fa2217d3..9fe1fc907c 100644 --- a/cloudformation/dms/aws-dms-endpoint_oraclesettings.go +++ b/cloudformation/dms/aws-dms-endpoint_oraclesettings.go @@ -10,6 +10,116 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html type Endpoint_OracleSettings struct { + // AccessAlternateDirectly AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-accessalternatedirectly + AccessAlternateDirectly *bool `json:"AccessAlternateDirectly,omitempty"` + + // AddSupplementalLogging AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-addsupplementallogging + AddSupplementalLogging *bool `json:"AddSupplementalLogging,omitempty"` + + // AdditionalArchivedLogDestId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-additionalarchivedlogdestid + AdditionalArchivedLogDestId *int `json:"AdditionalArchivedLogDestId,omitempty"` + + // AllowSelectNestedTables AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-allowselectnestedtables + AllowSelectNestedTables *bool `json:"AllowSelectNestedTables,omitempty"` + + // ArchivedLogDestId AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-archivedlogdestid + ArchivedLogDestId *int `json:"ArchivedLogDestId,omitempty"` + + // ArchivedLogsOnly AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-archivedlogsonly + ArchivedLogsOnly *bool `json:"ArchivedLogsOnly,omitempty"` + + // AsmPassword AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-asmpassword + AsmPassword *string `json:"AsmPassword,omitempty"` + + // AsmServer AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-asmserver + AsmServer *string `json:"AsmServer,omitempty"` + + // AsmUser AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-asmuser + AsmUser *string `json:"AsmUser,omitempty"` + + // CharLengthSemantics AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-charlengthsemantics + CharLengthSemantics *string `json:"CharLengthSemantics,omitempty"` + + // DirectPathNoLog AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-directpathnolog + DirectPathNoLog *bool `json:"DirectPathNoLog,omitempty"` + + // DirectPathParallelLoad AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-directpathparallelload + DirectPathParallelLoad *bool `json:"DirectPathParallelLoad,omitempty"` + + // EnableHomogenousTablespace AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-enablehomogenoustablespace + EnableHomogenousTablespace *bool `json:"EnableHomogenousTablespace,omitempty"` + + // ExtraArchivedLogDestIds AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-extraarchivedlogdestids + ExtraArchivedLogDestIds *[]int `json:"ExtraArchivedLogDestIds,omitempty"` + + // FailTasksOnLobTruncation AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-failtasksonlobtruncation + FailTasksOnLobTruncation *bool `json:"FailTasksOnLobTruncation,omitempty"` + + // NumberDatatypeScale AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-numberdatatypescale + NumberDatatypeScale *int `json:"NumberDatatypeScale,omitempty"` + + // OraclePathPrefix AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-oraclepathprefix + OraclePathPrefix *string `json:"OraclePathPrefix,omitempty"` + + // ParallelAsmReadThreads AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-parallelasmreadthreads + ParallelAsmReadThreads *int `json:"ParallelAsmReadThreads,omitempty"` + + // ReadAheadBlocks AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-readaheadblocks + ReadAheadBlocks *int `json:"ReadAheadBlocks,omitempty"` + + // ReadTableSpaceName AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-readtablespacename + ReadTableSpaceName *bool `json:"ReadTableSpaceName,omitempty"` + + // ReplacePathPrefix AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-replacepathprefix + ReplacePathPrefix *bool `json:"ReplacePathPrefix,omitempty"` + + // RetryInterval AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-retryinterval + RetryInterval *int `json:"RetryInterval,omitempty"` + // SecretsManagerAccessRoleArn AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-secretsmanageraccessrolearn @@ -30,6 +140,51 @@ type Endpoint_OracleSettings struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-secretsmanagersecretid SecretsManagerSecretId *string `json:"SecretsManagerSecretId,omitempty"` + // SecurityDbEncryption AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-securitydbencryption + SecurityDbEncryption *string `json:"SecurityDbEncryption,omitempty"` + + // SecurityDbEncryptionName AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-securitydbencryptionname + SecurityDbEncryptionName *string `json:"SecurityDbEncryptionName,omitempty"` + + // SpatialDataOptionToGeoJsonFunctionName AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-spatialdataoptiontogeojsonfunctionname + SpatialDataOptionToGeoJsonFunctionName *string `json:"SpatialDataOptionToGeoJsonFunctionName,omitempty"` + + // StandbyDelayTime AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-standbydelaytime + StandbyDelayTime *int `json:"StandbyDelayTime,omitempty"` + + // UseAlternateFolderForOnline AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-usealternatefolderforonline + UseAlternateFolderForOnline *bool `json:"UseAlternateFolderForOnline,omitempty"` + + // UseBFile AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-usebfile + UseBFile *bool `json:"UseBFile,omitempty"` + + // UseDirectPathFullLoad AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-usedirectpathfullload + UseDirectPathFullLoad *bool `json:"UseDirectPathFullLoad,omitempty"` + + // UseLogminerReader AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-uselogminerreader + UseLogminerReader *bool `json:"UseLogminerReader,omitempty"` + + // UsePathPrefix AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-oraclesettings.html#cfn-dms-endpoint-oraclesettings-usepathprefix + UsePathPrefix *string `json:"UsePathPrefix,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/cloudformation/dms/aws-dms-endpoint_postgresqlsettings.go b/cloudformation/dms/aws-dms-endpoint_postgresqlsettings.go index ec630d8bf7..d40ce2924d 100644 --- a/cloudformation/dms/aws-dms-endpoint_postgresqlsettings.go +++ b/cloudformation/dms/aws-dms-endpoint_postgresqlsettings.go @@ -10,6 +10,56 @@ import ( // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html type Endpoint_PostgreSqlSettings struct { + // AfterConnectScript AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-afterconnectscript + AfterConnectScript *string `json:"AfterConnectScript,omitempty"` + + // CaptureDdls AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-captureddls + CaptureDdls *bool `json:"CaptureDdls,omitempty"` + + // DdlArtifactsSchema AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-ddlartifactsschema + DdlArtifactsSchema *string `json:"DdlArtifactsSchema,omitempty"` + + // ExecuteTimeout AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-executetimeout + ExecuteTimeout *int `json:"ExecuteTimeout,omitempty"` + + // FailTasksOnLobTruncation AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-failtasksonlobtruncation + FailTasksOnLobTruncation *bool `json:"FailTasksOnLobTruncation,omitempty"` + + // HeartbeatEnable AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-heartbeatenable + HeartbeatEnable *bool `json:"HeartbeatEnable,omitempty"` + + // HeartbeatFrequency AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-heartbeatfrequency + HeartbeatFrequency *int `json:"HeartbeatFrequency,omitempty"` + + // HeartbeatSchema AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-heartbeatschema + HeartbeatSchema *string `json:"HeartbeatSchema,omitempty"` + + // MaxFileSize AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-maxfilesize + MaxFileSize *int `json:"MaxFileSize,omitempty"` + + // PluginName AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-pluginname + PluginName *string `json:"PluginName,omitempty"` + // SecretsManagerAccessRoleArn AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-secretsmanageraccessrolearn @@ -20,6 +70,11 @@ type Endpoint_PostgreSqlSettings struct { // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-secretsmanagersecretid SecretsManagerSecretId *string `json:"SecretsManagerSecretId,omitempty"` + // SlotName AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dms-endpoint-postgresqlsettings.html#cfn-dms-endpoint-postgresqlsettings-slotname + SlotName *string `json:"SlotName,omitempty"` + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` diff --git a/cloudformation/eks/aws-eks-cluster_encryptionconfig.go b/cloudformation/eks/aws-eks-cluster_encryptionconfig.go index f952d48452..088a440460 100644 --- a/cloudformation/eks/aws-eks-cluster_encryptionconfig.go +++ b/cloudformation/eks/aws-eks-cluster_encryptionconfig.go @@ -13,7 +13,7 @@ type Cluster_EncryptionConfig struct { // Provider AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-encryptionconfig.html#cfn-eks-cluster-encryptionconfig-provider - Provider *interface{} `json:"Provider,omitempty"` + Provider *Cluster_Provider `json:"Provider,omitempty"` // Resources AWS CloudFormation Property // Required: false diff --git a/cloudformation/eks/aws-eks-cluster_provider.go b/cloudformation/eks/aws-eks-cluster_provider.go new file mode 100644 index 0000000000..fb9e9fcf6c --- /dev/null +++ b/cloudformation/eks/aws-eks-cluster_provider.go @@ -0,0 +1,37 @@ +// Code generated by "go generate". Please don't change this file directly. + +package eks + +import ( + "github.com/awslabs/goformation/v6/cloudformation/policies" +) + +// Cluster_Provider AWS CloudFormation Resource (AWS::EKS::Cluster.Provider) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-provider.html +type Cluster_Provider struct { + + // KeyArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-eks-cluster-provider.html#cfn-eks-cluster-provider-keyarn + KeyArn *string `json:"KeyArn,omitempty"` + + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy + AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` + + // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy + AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` + + // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource + AWSCloudFormationDependsOn []string `json:"-"` + + // AWSCloudFormationMetadata stores structured data associated with this resource + AWSCloudFormationMetadata map[string]interface{} `json:"-"` + + // AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created + AWSCloudFormationCondition string `json:"-"` +} + +// AWSCloudFormationType returns the AWS CloudFormation resource type +func (r *Cluster_Provider) AWSCloudFormationType() string { + return "AWS::EKS::Cluster.Provider" +} diff --git a/cloudformation/events/aws-events-endpoint.go b/cloudformation/events/aws-events-endpoint.go new file mode 100644 index 0000000000..e994919494 --- /dev/null +++ b/cloudformation/events/aws-events-endpoint.go @@ -0,0 +1,144 @@ +// Code generated by "go generate". Please don't change this file directly. + +package events + +import ( + "bytes" + "encoding/json" + "fmt" + + "github.com/awslabs/goformation/v6/cloudformation/policies" +) + +// Endpoint AWS CloudFormation Resource (AWS::Events::Endpoint) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html +type Endpoint struct { + + // Description AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-description + Description *string `json:"Description,omitempty"` + + // EventBuses AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-eventbuses + EventBuses []Endpoint_EndpointEventBus `json:"EventBuses"` + + // Name AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-name + Name string `json:"Name"` + + // ReplicationConfig AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-replicationconfig + ReplicationConfig *Endpoint_ReplicationConfig `json:"ReplicationConfig,omitempty"` + + // RoleArn AWS CloudFormation Property + // Required: false + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-rolearn + RoleArn *string `json:"RoleArn,omitempty"` + + // RoutingConfig AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-endpoint.html#cfn-events-endpoint-routingconfig + RoutingConfig *Endpoint_RoutingConfig `json:"RoutingConfig"` + + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy + AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` + + // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy + AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` + + // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource + AWSCloudFormationDependsOn []string `json:"-"` + + // AWSCloudFormationMetadata stores structured data associated with this resource + AWSCloudFormationMetadata map[string]interface{} `json:"-"` + + // AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created + AWSCloudFormationCondition string `json:"-"` +} + +// AWSCloudFormationType returns the AWS CloudFormation resource type +func (r *Endpoint) AWSCloudFormationType() string { + return "AWS::Events::Endpoint" +} + +// MarshalJSON is a custom JSON marshalling hook that embeds this object into +// an AWS CloudFormation JSON resource's 'Properties' field and adds a 'Type'. +func (r Endpoint) MarshalJSON() ([]byte, error) { + type Properties Endpoint + return json.Marshal(&struct { + Type string + Properties Properties + DependsOn []string `json:"DependsOn,omitempty"` + Metadata map[string]interface{} `json:"Metadata,omitempty"` + DeletionPolicy policies.DeletionPolicy `json:"DeletionPolicy,omitempty"` + UpdateReplacePolicy policies.UpdateReplacePolicy `json:"UpdateReplacePolicy,omitempty"` + Condition string `json:"Condition,omitempty"` + }{ + Type: r.AWSCloudFormationType(), + Properties: (Properties)(r), + DependsOn: r.AWSCloudFormationDependsOn, + Metadata: r.AWSCloudFormationMetadata, + DeletionPolicy: r.AWSCloudFormationDeletionPolicy, + UpdateReplacePolicy: r.AWSCloudFormationUpdateReplacePolicy, + Condition: r.AWSCloudFormationCondition, + }) +} + +// UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer +// AWS CloudFormation resource object, and just keeps the 'Properties' field. +func (r *Endpoint) UnmarshalJSON(b []byte) error { + type Properties Endpoint + res := &struct { + Type string + Properties *Properties + DependsOn 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 = Endpoint(*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/events/aws-events-endpoint_endpointeventbus.go b/cloudformation/events/aws-events-endpoint_endpointeventbus.go new file mode 100644 index 0000000000..d4ddf99ae4 --- /dev/null +++ b/cloudformation/events/aws-events-endpoint_endpointeventbus.go @@ -0,0 +1,37 @@ +// Code generated by "go generate". Please don't change this file directly. + +package events + +import ( + "github.com/awslabs/goformation/v6/cloudformation/policies" +) + +// Endpoint_EndpointEventBus AWS CloudFormation Resource (AWS::Events::Endpoint.EndpointEventBus) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-endpointeventbus.html +type Endpoint_EndpointEventBus struct { + + // EventBusArn AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-endpointeventbus.html#cfn-events-endpoint-endpointeventbus-eventbusarn + EventBusArn string `json:"EventBusArn"` + + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy + AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` + + // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy + AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` + + // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource + AWSCloudFormationDependsOn []string `json:"-"` + + // AWSCloudFormationMetadata stores structured data associated with this resource + AWSCloudFormationMetadata map[string]interface{} `json:"-"` + + // AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created + AWSCloudFormationCondition string `json:"-"` +} + +// AWSCloudFormationType returns the AWS CloudFormation resource type +func (r *Endpoint_EndpointEventBus) AWSCloudFormationType() string { + return "AWS::Events::Endpoint.EndpointEventBus" +} diff --git a/cloudformation/events/aws-events-endpoint_failoverconfig.go b/cloudformation/events/aws-events-endpoint_failoverconfig.go new file mode 100644 index 0000000000..4e85f59c28 --- /dev/null +++ b/cloudformation/events/aws-events-endpoint_failoverconfig.go @@ -0,0 +1,42 @@ +// Code generated by "go generate". Please don't change this file directly. + +package events + +import ( + "github.com/awslabs/goformation/v6/cloudformation/policies" +) + +// Endpoint_FailoverConfig AWS CloudFormation Resource (AWS::Events::Endpoint.FailoverConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-failoverconfig.html +type Endpoint_FailoverConfig struct { + + // Primary AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-failoverconfig.html#cfn-events-endpoint-failoverconfig-primary + Primary *Endpoint_Primary `json:"Primary"` + + // Secondary AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-failoverconfig.html#cfn-events-endpoint-failoverconfig-secondary + Secondary *Endpoint_Secondary `json:"Secondary"` + + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy + AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` + + // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy + AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` + + // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource + AWSCloudFormationDependsOn []string `json:"-"` + + // AWSCloudFormationMetadata stores structured data associated with this resource + AWSCloudFormationMetadata map[string]interface{} `json:"-"` + + // AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created + AWSCloudFormationCondition string `json:"-"` +} + +// AWSCloudFormationType returns the AWS CloudFormation resource type +func (r *Endpoint_FailoverConfig) AWSCloudFormationType() string { + return "AWS::Events::Endpoint.FailoverConfig" +} diff --git a/cloudformation/events/aws-events-endpoint_primary.go b/cloudformation/events/aws-events-endpoint_primary.go new file mode 100644 index 0000000000..fa8b285fe0 --- /dev/null +++ b/cloudformation/events/aws-events-endpoint_primary.go @@ -0,0 +1,37 @@ +// Code generated by "go generate". Please don't change this file directly. + +package events + +import ( + "github.com/awslabs/goformation/v6/cloudformation/policies" +) + +// Endpoint_Primary AWS CloudFormation Resource (AWS::Events::Endpoint.Primary) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-primary.html +type Endpoint_Primary struct { + + // HealthCheck AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-primary.html#cfn-events-endpoint-primary-healthcheck + HealthCheck string `json:"HealthCheck"` + + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy + AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` + + // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy + AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` + + // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource + AWSCloudFormationDependsOn []string `json:"-"` + + // AWSCloudFormationMetadata stores structured data associated with this resource + AWSCloudFormationMetadata map[string]interface{} `json:"-"` + + // AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created + AWSCloudFormationCondition string `json:"-"` +} + +// AWSCloudFormationType returns the AWS CloudFormation resource type +func (r *Endpoint_Primary) AWSCloudFormationType() string { + return "AWS::Events::Endpoint.Primary" +} diff --git a/cloudformation/events/aws-events-endpoint_replicationconfig.go b/cloudformation/events/aws-events-endpoint_replicationconfig.go new file mode 100644 index 0000000000..822a925df5 --- /dev/null +++ b/cloudformation/events/aws-events-endpoint_replicationconfig.go @@ -0,0 +1,37 @@ +// Code generated by "go generate". Please don't change this file directly. + +package events + +import ( + "github.com/awslabs/goformation/v6/cloudformation/policies" +) + +// Endpoint_ReplicationConfig AWS CloudFormation Resource (AWS::Events::Endpoint.ReplicationConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-replicationconfig.html +type Endpoint_ReplicationConfig struct { + + // State AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-replicationconfig.html#cfn-events-endpoint-replicationconfig-state + State string `json:"State"` + + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy + AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` + + // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy + AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` + + // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource + AWSCloudFormationDependsOn []string `json:"-"` + + // AWSCloudFormationMetadata stores structured data associated with this resource + AWSCloudFormationMetadata map[string]interface{} `json:"-"` + + // AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created + AWSCloudFormationCondition string `json:"-"` +} + +// AWSCloudFormationType returns the AWS CloudFormation resource type +func (r *Endpoint_ReplicationConfig) AWSCloudFormationType() string { + return "AWS::Events::Endpoint.ReplicationConfig" +} diff --git a/cloudformation/events/aws-events-endpoint_routingconfig.go b/cloudformation/events/aws-events-endpoint_routingconfig.go new file mode 100644 index 0000000000..92ea7d993c --- /dev/null +++ b/cloudformation/events/aws-events-endpoint_routingconfig.go @@ -0,0 +1,37 @@ +// Code generated by "go generate". Please don't change this file directly. + +package events + +import ( + "github.com/awslabs/goformation/v6/cloudformation/policies" +) + +// Endpoint_RoutingConfig AWS CloudFormation Resource (AWS::Events::Endpoint.RoutingConfig) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-routingconfig.html +type Endpoint_RoutingConfig struct { + + // FailoverConfig AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-routingconfig.html#cfn-events-endpoint-routingconfig-failoverconfig + FailoverConfig *Endpoint_FailoverConfig `json:"FailoverConfig"` + + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy + AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` + + // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy + AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` + + // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource + AWSCloudFormationDependsOn []string `json:"-"` + + // AWSCloudFormationMetadata stores structured data associated with this resource + AWSCloudFormationMetadata map[string]interface{} `json:"-"` + + // AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created + AWSCloudFormationCondition string `json:"-"` +} + +// AWSCloudFormationType returns the AWS CloudFormation resource type +func (r *Endpoint_RoutingConfig) AWSCloudFormationType() string { + return "AWS::Events::Endpoint.RoutingConfig" +} diff --git a/cloudformation/events/aws-events-endpoint_secondary.go b/cloudformation/events/aws-events-endpoint_secondary.go new file mode 100644 index 0000000000..2345529ba3 --- /dev/null +++ b/cloudformation/events/aws-events-endpoint_secondary.go @@ -0,0 +1,37 @@ +// Code generated by "go generate". Please don't change this file directly. + +package events + +import ( + "github.com/awslabs/goformation/v6/cloudformation/policies" +) + +// Endpoint_Secondary AWS CloudFormation Resource (AWS::Events::Endpoint.Secondary) +// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-secondary.html +type Endpoint_Secondary struct { + + // Route AWS CloudFormation Property + // Required: true + // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-endpoint-secondary.html#cfn-events-endpoint-secondary-route + Route string `json:"Route"` + + // AWSCloudFormationDeletionPolicy represents a CloudFormation DeletionPolicy + AWSCloudFormationDeletionPolicy policies.DeletionPolicy `json:"-"` + + // AWSCloudFormationUpdateReplacePolicy represents a CloudFormation UpdateReplacePolicy + AWSCloudFormationUpdateReplacePolicy policies.UpdateReplacePolicy `json:"-"` + + // AWSCloudFormationDependsOn stores the logical ID of the resources to be created before this resource + AWSCloudFormationDependsOn []string `json:"-"` + + // AWSCloudFormationMetadata stores structured data associated with this resource + AWSCloudFormationMetadata map[string]interface{} `json:"-"` + + // AWSCloudFormationCondition stores the logical ID of the condition that must be satisfied for this resource to be created + AWSCloudFormationCondition string `json:"-"` +} + +// AWSCloudFormationType returns the AWS CloudFormation resource type +func (r *Endpoint_Secondary) AWSCloudFormationType() string { + return "AWS::Events::Endpoint.Secondary" +} diff --git a/schema/cdk.go b/schema/cdk.go index 3f78c504c1..ccddd7104b 100644 --- a/schema/cdk.go +++ b/schema/cdk.go @@ -32505,6 +32505,75 @@ var CdkSchema = `{ "AWS::DMS::Endpoint.OracleSettings": { "additionalProperties": false, "properties": { + "AccessAlternateDirectly": { + "type": "boolean" + }, + "AddSupplementalLogging": { + "type": "boolean" + }, + "AdditionalArchivedLogDestId": { + "type": "number" + }, + "AllowSelectNestedTables": { + "type": "boolean" + }, + "ArchivedLogDestId": { + "type": "number" + }, + "ArchivedLogsOnly": { + "type": "boolean" + }, + "AsmPassword": { + "type": "string" + }, + "AsmServer": { + "type": "string" + }, + "AsmUser": { + "type": "string" + }, + "CharLengthSemantics": { + "type": "string" + }, + "DirectPathNoLog": { + "type": "boolean" + }, + "DirectPathParallelLoad": { + "type": "boolean" + }, + "EnableHomogenousTablespace": { + "type": "boolean" + }, + "ExtraArchivedLogDestIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "FailTasksOnLobTruncation": { + "type": "boolean" + }, + "NumberDatatypeScale": { + "type": "number" + }, + "OraclePathPrefix": { + "type": "string" + }, + "ParallelAsmReadThreads": { + "type": "number" + }, + "ReadAheadBlocks": { + "type": "number" + }, + "ReadTableSpaceName": { + "type": "boolean" + }, + "ReplacePathPrefix": { + "type": "boolean" + }, + "RetryInterval": { + "type": "number" + }, "SecretsManagerAccessRoleArn": { "type": "string" }, @@ -32516,6 +32585,33 @@ var CdkSchema = `{ }, "SecretsManagerSecretId": { "type": "string" + }, + "SecurityDbEncryption": { + "type": "string" + }, + "SecurityDbEncryptionName": { + "type": "string" + }, + "SpatialDataOptionToGeoJsonFunctionName": { + "type": "string" + }, + "StandbyDelayTime": { + "type": "number" + }, + "UseAlternateFolderForOnline": { + "type": "boolean" + }, + "UseBFile": { + "type": "boolean" + }, + "UseDirectPathFullLoad": { + "type": "boolean" + }, + "UseLogminerReader": { + "type": "boolean" + }, + "UsePathPrefix": { + "type": "string" } }, "type": "object" @@ -32523,11 +32619,44 @@ var CdkSchema = `{ "AWS::DMS::Endpoint.PostgreSqlSettings": { "additionalProperties": false, "properties": { + "AfterConnectScript": { + "type": "string" + }, + "CaptureDdls": { + "type": "boolean" + }, + "DdlArtifactsSchema": { + "type": "string" + }, + "ExecuteTimeout": { + "type": "number" + }, + "FailTasksOnLobTruncation": { + "type": "boolean" + }, + "HeartbeatEnable": { + "type": "boolean" + }, + "HeartbeatFrequency": { + "type": "number" + }, + "HeartbeatSchema": { + "type": "string" + }, + "MaxFileSize": { + "type": "number" + }, + "PluginName": { + "type": "string" + }, "SecretsManagerAccessRoleArn": { "type": "string" }, "SecretsManagerSecretId": { "type": "string" + }, + "SlotName": { + "type": "string" } }, "type": "object" @@ -49528,7 +49657,7 @@ var CdkSchema = `{ "additionalProperties": false, "properties": { "Provider": { - "type": "object" + "$ref": "#/definitions/AWS::EKS::Cluster.Provider" }, "Resources": { "items": { @@ -49572,6 +49701,15 @@ var CdkSchema = `{ }, "type": "object" }, + "AWS::EKS::Cluster.Provider": { + "additionalProperties": false, + "properties": { + "KeyArn": { + "type": "string" + } + }, + "type": "object" + }, "AWS::EKS::Cluster.ResourcesVpcConfig": { "additionalProperties": false, "properties": { @@ -55821,6 +55959,164 @@ var CdkSchema = `{ ], "type": "object" }, + "AWS::Events::Endpoint": { + "additionalProperties": false, + "properties": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "EventBuses": { + "items": { + "$ref": "#/definitions/AWS::Events::Endpoint.EndpointEventBus" + }, + "type": "array" + }, + "Name": { + "type": "string" + }, + "ReplicationConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.ReplicationConfig" + }, + "RoleArn": { + "type": "string" + }, + "RoutingConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.RoutingConfig" + } + }, + "required": [ + "EventBuses", + "Name", + "RoutingConfig" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Events::Endpoint" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, + "AWS::Events::Endpoint.EndpointEventBus": { + "additionalProperties": false, + "properties": { + "EventBusArn": { + "type": "string" + } + }, + "required": [ + "EventBusArn" + ], + "type": "object" + }, + "AWS::Events::Endpoint.FailoverConfig": { + "additionalProperties": false, + "properties": { + "Primary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Primary" + }, + "Secondary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Secondary" + } + }, + "required": [ + "Primary", + "Secondary" + ], + "type": "object" + }, + "AWS::Events::Endpoint.Primary": { + "additionalProperties": false, + "properties": { + "HealthCheck": { + "type": "string" + } + }, + "required": [ + "HealthCheck" + ], + "type": "object" + }, + "AWS::Events::Endpoint.ReplicationConfig": { + "additionalProperties": false, + "properties": { + "State": { + "type": "string" + } + }, + "required": [ + "State" + ], + "type": "object" + }, + "AWS::Events::Endpoint.RoutingConfig": { + "additionalProperties": false, + "properties": { + "FailoverConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.FailoverConfig" + } + }, + "required": [ + "FailoverConfig" + ], + "type": "object" + }, + "AWS::Events::Endpoint.Secondary": { + "additionalProperties": false, + "properties": { + "Route": { + "type": "string" + } + }, + "required": [ + "Route" + ], + "type": "object" + }, "AWS::Events::EventBus": { "additionalProperties": false, "properties": { @@ -131381,6 +131677,9 @@ var CdkSchema = `{ { "$ref": "#/definitions/AWS::Events::Connection" }, + { + "$ref": "#/definitions/AWS::Events::Endpoint" + }, { "$ref": "#/definitions/AWS::Events::EventBus" }, diff --git a/schema/cdk.schema.json b/schema/cdk.schema.json index c68512089f..87be2afa97 100644 --- a/schema/cdk.schema.json +++ b/schema/cdk.schema.json @@ -32500,6 +32500,75 @@ "AWS::DMS::Endpoint.OracleSettings": { "additionalProperties": false, "properties": { + "AccessAlternateDirectly": { + "type": "boolean" + }, + "AddSupplementalLogging": { + "type": "boolean" + }, + "AdditionalArchivedLogDestId": { + "type": "number" + }, + "AllowSelectNestedTables": { + "type": "boolean" + }, + "ArchivedLogDestId": { + "type": "number" + }, + "ArchivedLogsOnly": { + "type": "boolean" + }, + "AsmPassword": { + "type": "string" + }, + "AsmServer": { + "type": "string" + }, + "AsmUser": { + "type": "string" + }, + "CharLengthSemantics": { + "type": "string" + }, + "DirectPathNoLog": { + "type": "boolean" + }, + "DirectPathParallelLoad": { + "type": "boolean" + }, + "EnableHomogenousTablespace": { + "type": "boolean" + }, + "ExtraArchivedLogDestIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "FailTasksOnLobTruncation": { + "type": "boolean" + }, + "NumberDatatypeScale": { + "type": "number" + }, + "OraclePathPrefix": { + "type": "string" + }, + "ParallelAsmReadThreads": { + "type": "number" + }, + "ReadAheadBlocks": { + "type": "number" + }, + "ReadTableSpaceName": { + "type": "boolean" + }, + "ReplacePathPrefix": { + "type": "boolean" + }, + "RetryInterval": { + "type": "number" + }, "SecretsManagerAccessRoleArn": { "type": "string" }, @@ -32511,6 +32580,33 @@ }, "SecretsManagerSecretId": { "type": "string" + }, + "SecurityDbEncryption": { + "type": "string" + }, + "SecurityDbEncryptionName": { + "type": "string" + }, + "SpatialDataOptionToGeoJsonFunctionName": { + "type": "string" + }, + "StandbyDelayTime": { + "type": "number" + }, + "UseAlternateFolderForOnline": { + "type": "boolean" + }, + "UseBFile": { + "type": "boolean" + }, + "UseDirectPathFullLoad": { + "type": "boolean" + }, + "UseLogminerReader": { + "type": "boolean" + }, + "UsePathPrefix": { + "type": "string" } }, "type": "object" @@ -32518,11 +32614,44 @@ "AWS::DMS::Endpoint.PostgreSqlSettings": { "additionalProperties": false, "properties": { + "AfterConnectScript": { + "type": "string" + }, + "CaptureDdls": { + "type": "boolean" + }, + "DdlArtifactsSchema": { + "type": "string" + }, + "ExecuteTimeout": { + "type": "number" + }, + "FailTasksOnLobTruncation": { + "type": "boolean" + }, + "HeartbeatEnable": { + "type": "boolean" + }, + "HeartbeatFrequency": { + "type": "number" + }, + "HeartbeatSchema": { + "type": "string" + }, + "MaxFileSize": { + "type": "number" + }, + "PluginName": { + "type": "string" + }, "SecretsManagerAccessRoleArn": { "type": "string" }, "SecretsManagerSecretId": { "type": "string" + }, + "SlotName": { + "type": "string" } }, "type": "object" @@ -49523,7 +49652,7 @@ "additionalProperties": false, "properties": { "Provider": { - "type": "object" + "$ref": "#/definitions/AWS::EKS::Cluster.Provider" }, "Resources": { "items": { @@ -49567,6 +49696,15 @@ }, "type": "object" }, + "AWS::EKS::Cluster.Provider": { + "additionalProperties": false, + "properties": { + "KeyArn": { + "type": "string" + } + }, + "type": "object" + }, "AWS::EKS::Cluster.ResourcesVpcConfig": { "additionalProperties": false, "properties": { @@ -55816,6 +55954,164 @@ ], "type": "object" }, + "AWS::Events::Endpoint": { + "additionalProperties": false, + "properties": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "EventBuses": { + "items": { + "$ref": "#/definitions/AWS::Events::Endpoint.EndpointEventBus" + }, + "type": "array" + }, + "Name": { + "type": "string" + }, + "ReplicationConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.ReplicationConfig" + }, + "RoleArn": { + "type": "string" + }, + "RoutingConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.RoutingConfig" + } + }, + "required": [ + "EventBuses", + "Name", + "RoutingConfig" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Events::Endpoint" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, + "AWS::Events::Endpoint.EndpointEventBus": { + "additionalProperties": false, + "properties": { + "EventBusArn": { + "type": "string" + } + }, + "required": [ + "EventBusArn" + ], + "type": "object" + }, + "AWS::Events::Endpoint.FailoverConfig": { + "additionalProperties": false, + "properties": { + "Primary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Primary" + }, + "Secondary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Secondary" + } + }, + "required": [ + "Primary", + "Secondary" + ], + "type": "object" + }, + "AWS::Events::Endpoint.Primary": { + "additionalProperties": false, + "properties": { + "HealthCheck": { + "type": "string" + } + }, + "required": [ + "HealthCheck" + ], + "type": "object" + }, + "AWS::Events::Endpoint.ReplicationConfig": { + "additionalProperties": false, + "properties": { + "State": { + "type": "string" + } + }, + "required": [ + "State" + ], + "type": "object" + }, + "AWS::Events::Endpoint.RoutingConfig": { + "additionalProperties": false, + "properties": { + "FailoverConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.FailoverConfig" + } + }, + "required": [ + "FailoverConfig" + ], + "type": "object" + }, + "AWS::Events::Endpoint.Secondary": { + "additionalProperties": false, + "properties": { + "Route": { + "type": "string" + } + }, + "required": [ + "Route" + ], + "type": "object" + }, "AWS::Events::EventBus": { "additionalProperties": false, "properties": { @@ -131376,6 +131672,9 @@ { "$ref": "#/definitions/AWS::Events::Connection" }, + { + "$ref": "#/definitions/AWS::Events::Endpoint" + }, { "$ref": "#/definitions/AWS::Events::EventBus" }, diff --git a/schema/cloudformation.go b/schema/cloudformation.go index 7e2c1f35c3..43d3d83806 100644 --- a/schema/cloudformation.go +++ b/schema/cloudformation.go @@ -32447,6 +32447,75 @@ var CloudformationSchema = `{ "AWS::DMS::Endpoint.OracleSettings": { "additionalProperties": false, "properties": { + "AccessAlternateDirectly": { + "type": "boolean" + }, + "AddSupplementalLogging": { + "type": "boolean" + }, + "AdditionalArchivedLogDestId": { + "type": "number" + }, + "AllowSelectNestedTables": { + "type": "boolean" + }, + "ArchivedLogDestId": { + "type": "number" + }, + "ArchivedLogsOnly": { + "type": "boolean" + }, + "AsmPassword": { + "type": "string" + }, + "AsmServer": { + "type": "string" + }, + "AsmUser": { + "type": "string" + }, + "CharLengthSemantics": { + "type": "string" + }, + "DirectPathNoLog": { + "type": "boolean" + }, + "DirectPathParallelLoad": { + "type": "boolean" + }, + "EnableHomogenousTablespace": { + "type": "boolean" + }, + "ExtraArchivedLogDestIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "FailTasksOnLobTruncation": { + "type": "boolean" + }, + "NumberDatatypeScale": { + "type": "number" + }, + "OraclePathPrefix": { + "type": "string" + }, + "ParallelAsmReadThreads": { + "type": "number" + }, + "ReadAheadBlocks": { + "type": "number" + }, + "ReadTableSpaceName": { + "type": "boolean" + }, + "ReplacePathPrefix": { + "type": "boolean" + }, + "RetryInterval": { + "type": "number" + }, "SecretsManagerAccessRoleArn": { "type": "string" }, @@ -32458,6 +32527,33 @@ var CloudformationSchema = `{ }, "SecretsManagerSecretId": { "type": "string" + }, + "SecurityDbEncryption": { + "type": "string" + }, + "SecurityDbEncryptionName": { + "type": "string" + }, + "SpatialDataOptionToGeoJsonFunctionName": { + "type": "string" + }, + "StandbyDelayTime": { + "type": "number" + }, + "UseAlternateFolderForOnline": { + "type": "boolean" + }, + "UseBFile": { + "type": "boolean" + }, + "UseDirectPathFullLoad": { + "type": "boolean" + }, + "UseLogminerReader": { + "type": "boolean" + }, + "UsePathPrefix": { + "type": "string" } }, "type": "object" @@ -32465,11 +32561,44 @@ var CloudformationSchema = `{ "AWS::DMS::Endpoint.PostgreSqlSettings": { "additionalProperties": false, "properties": { + "AfterConnectScript": { + "type": "string" + }, + "CaptureDdls": { + "type": "boolean" + }, + "DdlArtifactsSchema": { + "type": "string" + }, + "ExecuteTimeout": { + "type": "number" + }, + "FailTasksOnLobTruncation": { + "type": "boolean" + }, + "HeartbeatEnable": { + "type": "boolean" + }, + "HeartbeatFrequency": { + "type": "number" + }, + "HeartbeatSchema": { + "type": "string" + }, + "MaxFileSize": { + "type": "number" + }, + "PluginName": { + "type": "string" + }, "SecretsManagerAccessRoleArn": { "type": "string" }, "SecretsManagerSecretId": { "type": "string" + }, + "SlotName": { + "type": "string" } }, "type": "object" @@ -49470,7 +49599,7 @@ var CloudformationSchema = `{ "additionalProperties": false, "properties": { "Provider": { - "type": "object" + "$ref": "#/definitions/AWS::EKS::Cluster.Provider" }, "Resources": { "items": { @@ -49514,6 +49643,15 @@ var CloudformationSchema = `{ }, "type": "object" }, + "AWS::EKS::Cluster.Provider": { + "additionalProperties": false, + "properties": { + "KeyArn": { + "type": "string" + } + }, + "type": "object" + }, "AWS::EKS::Cluster.ResourcesVpcConfig": { "additionalProperties": false, "properties": { @@ -55763,6 +55901,164 @@ var CloudformationSchema = `{ ], "type": "object" }, + "AWS::Events::Endpoint": { + "additionalProperties": false, + "properties": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "EventBuses": { + "items": { + "$ref": "#/definitions/AWS::Events::Endpoint.EndpointEventBus" + }, + "type": "array" + }, + "Name": { + "type": "string" + }, + "ReplicationConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.ReplicationConfig" + }, + "RoleArn": { + "type": "string" + }, + "RoutingConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.RoutingConfig" + } + }, + "required": [ + "EventBuses", + "Name", + "RoutingConfig" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Events::Endpoint" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, + "AWS::Events::Endpoint.EndpointEventBus": { + "additionalProperties": false, + "properties": { + "EventBusArn": { + "type": "string" + } + }, + "required": [ + "EventBusArn" + ], + "type": "object" + }, + "AWS::Events::Endpoint.FailoverConfig": { + "additionalProperties": false, + "properties": { + "Primary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Primary" + }, + "Secondary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Secondary" + } + }, + "required": [ + "Primary", + "Secondary" + ], + "type": "object" + }, + "AWS::Events::Endpoint.Primary": { + "additionalProperties": false, + "properties": { + "HealthCheck": { + "type": "string" + } + }, + "required": [ + "HealthCheck" + ], + "type": "object" + }, + "AWS::Events::Endpoint.ReplicationConfig": { + "additionalProperties": false, + "properties": { + "State": { + "type": "string" + } + }, + "required": [ + "State" + ], + "type": "object" + }, + "AWS::Events::Endpoint.RoutingConfig": { + "additionalProperties": false, + "properties": { + "FailoverConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.FailoverConfig" + } + }, + "required": [ + "FailoverConfig" + ], + "type": "object" + }, + "AWS::Events::Endpoint.Secondary": { + "additionalProperties": false, + "properties": { + "Route": { + "type": "string" + } + }, + "required": [ + "Route" + ], + "type": "object" + }, "AWS::Events::EventBus": { "additionalProperties": false, "properties": { @@ -131320,6 +131616,9 @@ var CloudformationSchema = `{ { "$ref": "#/definitions/AWS::Events::Connection" }, + { + "$ref": "#/definitions/AWS::Events::Endpoint" + }, { "$ref": "#/definitions/AWS::Events::EventBus" }, diff --git a/schema/cloudformation.schema.json b/schema/cloudformation.schema.json index d0a0cbb1a0..dfdd5909da 100644 --- a/schema/cloudformation.schema.json +++ b/schema/cloudformation.schema.json @@ -32442,6 +32442,75 @@ "AWS::DMS::Endpoint.OracleSettings": { "additionalProperties": false, "properties": { + "AccessAlternateDirectly": { + "type": "boolean" + }, + "AddSupplementalLogging": { + "type": "boolean" + }, + "AdditionalArchivedLogDestId": { + "type": "number" + }, + "AllowSelectNestedTables": { + "type": "boolean" + }, + "ArchivedLogDestId": { + "type": "number" + }, + "ArchivedLogsOnly": { + "type": "boolean" + }, + "AsmPassword": { + "type": "string" + }, + "AsmServer": { + "type": "string" + }, + "AsmUser": { + "type": "string" + }, + "CharLengthSemantics": { + "type": "string" + }, + "DirectPathNoLog": { + "type": "boolean" + }, + "DirectPathParallelLoad": { + "type": "boolean" + }, + "EnableHomogenousTablespace": { + "type": "boolean" + }, + "ExtraArchivedLogDestIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "FailTasksOnLobTruncation": { + "type": "boolean" + }, + "NumberDatatypeScale": { + "type": "number" + }, + "OraclePathPrefix": { + "type": "string" + }, + "ParallelAsmReadThreads": { + "type": "number" + }, + "ReadAheadBlocks": { + "type": "number" + }, + "ReadTableSpaceName": { + "type": "boolean" + }, + "ReplacePathPrefix": { + "type": "boolean" + }, + "RetryInterval": { + "type": "number" + }, "SecretsManagerAccessRoleArn": { "type": "string" }, @@ -32453,6 +32522,33 @@ }, "SecretsManagerSecretId": { "type": "string" + }, + "SecurityDbEncryption": { + "type": "string" + }, + "SecurityDbEncryptionName": { + "type": "string" + }, + "SpatialDataOptionToGeoJsonFunctionName": { + "type": "string" + }, + "StandbyDelayTime": { + "type": "number" + }, + "UseAlternateFolderForOnline": { + "type": "boolean" + }, + "UseBFile": { + "type": "boolean" + }, + "UseDirectPathFullLoad": { + "type": "boolean" + }, + "UseLogminerReader": { + "type": "boolean" + }, + "UsePathPrefix": { + "type": "string" } }, "type": "object" @@ -32460,11 +32556,44 @@ "AWS::DMS::Endpoint.PostgreSqlSettings": { "additionalProperties": false, "properties": { + "AfterConnectScript": { + "type": "string" + }, + "CaptureDdls": { + "type": "boolean" + }, + "DdlArtifactsSchema": { + "type": "string" + }, + "ExecuteTimeout": { + "type": "number" + }, + "FailTasksOnLobTruncation": { + "type": "boolean" + }, + "HeartbeatEnable": { + "type": "boolean" + }, + "HeartbeatFrequency": { + "type": "number" + }, + "HeartbeatSchema": { + "type": "string" + }, + "MaxFileSize": { + "type": "number" + }, + "PluginName": { + "type": "string" + }, "SecretsManagerAccessRoleArn": { "type": "string" }, "SecretsManagerSecretId": { "type": "string" + }, + "SlotName": { + "type": "string" } }, "type": "object" @@ -49465,7 +49594,7 @@ "additionalProperties": false, "properties": { "Provider": { - "type": "object" + "$ref": "#/definitions/AWS::EKS::Cluster.Provider" }, "Resources": { "items": { @@ -49509,6 +49638,15 @@ }, "type": "object" }, + "AWS::EKS::Cluster.Provider": { + "additionalProperties": false, + "properties": { + "KeyArn": { + "type": "string" + } + }, + "type": "object" + }, "AWS::EKS::Cluster.ResourcesVpcConfig": { "additionalProperties": false, "properties": { @@ -55758,6 +55896,164 @@ ], "type": "object" }, + "AWS::Events::Endpoint": { + "additionalProperties": false, + "properties": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "EventBuses": { + "items": { + "$ref": "#/definitions/AWS::Events::Endpoint.EndpointEventBus" + }, + "type": "array" + }, + "Name": { + "type": "string" + }, + "ReplicationConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.ReplicationConfig" + }, + "RoleArn": { + "type": "string" + }, + "RoutingConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.RoutingConfig" + } + }, + "required": [ + "EventBuses", + "Name", + "RoutingConfig" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Events::Endpoint" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, + "AWS::Events::Endpoint.EndpointEventBus": { + "additionalProperties": false, + "properties": { + "EventBusArn": { + "type": "string" + } + }, + "required": [ + "EventBusArn" + ], + "type": "object" + }, + "AWS::Events::Endpoint.FailoverConfig": { + "additionalProperties": false, + "properties": { + "Primary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Primary" + }, + "Secondary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Secondary" + } + }, + "required": [ + "Primary", + "Secondary" + ], + "type": "object" + }, + "AWS::Events::Endpoint.Primary": { + "additionalProperties": false, + "properties": { + "HealthCheck": { + "type": "string" + } + }, + "required": [ + "HealthCheck" + ], + "type": "object" + }, + "AWS::Events::Endpoint.ReplicationConfig": { + "additionalProperties": false, + "properties": { + "State": { + "type": "string" + } + }, + "required": [ + "State" + ], + "type": "object" + }, + "AWS::Events::Endpoint.RoutingConfig": { + "additionalProperties": false, + "properties": { + "FailoverConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.FailoverConfig" + } + }, + "required": [ + "FailoverConfig" + ], + "type": "object" + }, + "AWS::Events::Endpoint.Secondary": { + "additionalProperties": false, + "properties": { + "Route": { + "type": "string" + } + }, + "required": [ + "Route" + ], + "type": "object" + }, "AWS::Events::EventBus": { "additionalProperties": false, "properties": { @@ -131315,6 +131611,9 @@ { "$ref": "#/definitions/AWS::Events::Connection" }, + { + "$ref": "#/definitions/AWS::Events::Endpoint" + }, { "$ref": "#/definitions/AWS::Events::EventBus" }, diff --git a/schema/sam.go b/schema/sam.go index a7fb8080e5..903e9c7c60 100644 --- a/schema/sam.go +++ b/schema/sam.go @@ -32447,6 +32447,75 @@ var SamSchema = `{ "AWS::DMS::Endpoint.OracleSettings": { "additionalProperties": false, "properties": { + "AccessAlternateDirectly": { + "type": "boolean" + }, + "AddSupplementalLogging": { + "type": "boolean" + }, + "AdditionalArchivedLogDestId": { + "type": "number" + }, + "AllowSelectNestedTables": { + "type": "boolean" + }, + "ArchivedLogDestId": { + "type": "number" + }, + "ArchivedLogsOnly": { + "type": "boolean" + }, + "AsmPassword": { + "type": "string" + }, + "AsmServer": { + "type": "string" + }, + "AsmUser": { + "type": "string" + }, + "CharLengthSemantics": { + "type": "string" + }, + "DirectPathNoLog": { + "type": "boolean" + }, + "DirectPathParallelLoad": { + "type": "boolean" + }, + "EnableHomogenousTablespace": { + "type": "boolean" + }, + "ExtraArchivedLogDestIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "FailTasksOnLobTruncation": { + "type": "boolean" + }, + "NumberDatatypeScale": { + "type": "number" + }, + "OraclePathPrefix": { + "type": "string" + }, + "ParallelAsmReadThreads": { + "type": "number" + }, + "ReadAheadBlocks": { + "type": "number" + }, + "ReadTableSpaceName": { + "type": "boolean" + }, + "ReplacePathPrefix": { + "type": "boolean" + }, + "RetryInterval": { + "type": "number" + }, "SecretsManagerAccessRoleArn": { "type": "string" }, @@ -32458,6 +32527,33 @@ var SamSchema = `{ }, "SecretsManagerSecretId": { "type": "string" + }, + "SecurityDbEncryption": { + "type": "string" + }, + "SecurityDbEncryptionName": { + "type": "string" + }, + "SpatialDataOptionToGeoJsonFunctionName": { + "type": "string" + }, + "StandbyDelayTime": { + "type": "number" + }, + "UseAlternateFolderForOnline": { + "type": "boolean" + }, + "UseBFile": { + "type": "boolean" + }, + "UseDirectPathFullLoad": { + "type": "boolean" + }, + "UseLogminerReader": { + "type": "boolean" + }, + "UsePathPrefix": { + "type": "string" } }, "type": "object" @@ -32465,11 +32561,44 @@ var SamSchema = `{ "AWS::DMS::Endpoint.PostgreSqlSettings": { "additionalProperties": false, "properties": { + "AfterConnectScript": { + "type": "string" + }, + "CaptureDdls": { + "type": "boolean" + }, + "DdlArtifactsSchema": { + "type": "string" + }, + "ExecuteTimeout": { + "type": "number" + }, + "FailTasksOnLobTruncation": { + "type": "boolean" + }, + "HeartbeatEnable": { + "type": "boolean" + }, + "HeartbeatFrequency": { + "type": "number" + }, + "HeartbeatSchema": { + "type": "string" + }, + "MaxFileSize": { + "type": "number" + }, + "PluginName": { + "type": "string" + }, "SecretsManagerAccessRoleArn": { "type": "string" }, "SecretsManagerSecretId": { "type": "string" + }, + "SlotName": { + "type": "string" } }, "type": "object" @@ -49470,7 +49599,7 @@ var SamSchema = `{ "additionalProperties": false, "properties": { "Provider": { - "type": "object" + "$ref": "#/definitions/AWS::EKS::Cluster.Provider" }, "Resources": { "items": { @@ -49514,6 +49643,15 @@ var SamSchema = `{ }, "type": "object" }, + "AWS::EKS::Cluster.Provider": { + "additionalProperties": false, + "properties": { + "KeyArn": { + "type": "string" + } + }, + "type": "object" + }, "AWS::EKS::Cluster.ResourcesVpcConfig": { "additionalProperties": false, "properties": { @@ -55763,6 +55901,164 @@ var SamSchema = `{ ], "type": "object" }, + "AWS::Events::Endpoint": { + "additionalProperties": false, + "properties": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "EventBuses": { + "items": { + "$ref": "#/definitions/AWS::Events::Endpoint.EndpointEventBus" + }, + "type": "array" + }, + "Name": { + "type": "string" + }, + "ReplicationConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.ReplicationConfig" + }, + "RoleArn": { + "type": "string" + }, + "RoutingConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.RoutingConfig" + } + }, + "required": [ + "EventBuses", + "Name", + "RoutingConfig" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Events::Endpoint" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, + "AWS::Events::Endpoint.EndpointEventBus": { + "additionalProperties": false, + "properties": { + "EventBusArn": { + "type": "string" + } + }, + "required": [ + "EventBusArn" + ], + "type": "object" + }, + "AWS::Events::Endpoint.FailoverConfig": { + "additionalProperties": false, + "properties": { + "Primary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Primary" + }, + "Secondary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Secondary" + } + }, + "required": [ + "Primary", + "Secondary" + ], + "type": "object" + }, + "AWS::Events::Endpoint.Primary": { + "additionalProperties": false, + "properties": { + "HealthCheck": { + "type": "string" + } + }, + "required": [ + "HealthCheck" + ], + "type": "object" + }, + "AWS::Events::Endpoint.ReplicationConfig": { + "additionalProperties": false, + "properties": { + "State": { + "type": "string" + } + }, + "required": [ + "State" + ], + "type": "object" + }, + "AWS::Events::Endpoint.RoutingConfig": { + "additionalProperties": false, + "properties": { + "FailoverConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.FailoverConfig" + } + }, + "required": [ + "FailoverConfig" + ], + "type": "object" + }, + "AWS::Events::Endpoint.Secondary": { + "additionalProperties": false, + "properties": { + "Route": { + "type": "string" + } + }, + "required": [ + "Route" + ], + "type": "object" + }, "AWS::Events::EventBus": { "additionalProperties": false, "properties": { @@ -133998,6 +134294,9 @@ var SamSchema = `{ { "$ref": "#/definitions/AWS::Events::Connection" }, + { + "$ref": "#/definitions/AWS::Events::Endpoint" + }, { "$ref": "#/definitions/AWS::Events::EventBus" }, diff --git a/schema/sam.schema.json b/schema/sam.schema.json index 9571eb3d3b..449b9317d0 100644 --- a/schema/sam.schema.json +++ b/schema/sam.schema.json @@ -32442,6 +32442,75 @@ "AWS::DMS::Endpoint.OracleSettings": { "additionalProperties": false, "properties": { + "AccessAlternateDirectly": { + "type": "boolean" + }, + "AddSupplementalLogging": { + "type": "boolean" + }, + "AdditionalArchivedLogDestId": { + "type": "number" + }, + "AllowSelectNestedTables": { + "type": "boolean" + }, + "ArchivedLogDestId": { + "type": "number" + }, + "ArchivedLogsOnly": { + "type": "boolean" + }, + "AsmPassword": { + "type": "string" + }, + "AsmServer": { + "type": "string" + }, + "AsmUser": { + "type": "string" + }, + "CharLengthSemantics": { + "type": "string" + }, + "DirectPathNoLog": { + "type": "boolean" + }, + "DirectPathParallelLoad": { + "type": "boolean" + }, + "EnableHomogenousTablespace": { + "type": "boolean" + }, + "ExtraArchivedLogDestIds": { + "items": { + "type": "number" + }, + "type": "array" + }, + "FailTasksOnLobTruncation": { + "type": "boolean" + }, + "NumberDatatypeScale": { + "type": "number" + }, + "OraclePathPrefix": { + "type": "string" + }, + "ParallelAsmReadThreads": { + "type": "number" + }, + "ReadAheadBlocks": { + "type": "number" + }, + "ReadTableSpaceName": { + "type": "boolean" + }, + "ReplacePathPrefix": { + "type": "boolean" + }, + "RetryInterval": { + "type": "number" + }, "SecretsManagerAccessRoleArn": { "type": "string" }, @@ -32453,6 +32522,33 @@ }, "SecretsManagerSecretId": { "type": "string" + }, + "SecurityDbEncryption": { + "type": "string" + }, + "SecurityDbEncryptionName": { + "type": "string" + }, + "SpatialDataOptionToGeoJsonFunctionName": { + "type": "string" + }, + "StandbyDelayTime": { + "type": "number" + }, + "UseAlternateFolderForOnline": { + "type": "boolean" + }, + "UseBFile": { + "type": "boolean" + }, + "UseDirectPathFullLoad": { + "type": "boolean" + }, + "UseLogminerReader": { + "type": "boolean" + }, + "UsePathPrefix": { + "type": "string" } }, "type": "object" @@ -32460,11 +32556,44 @@ "AWS::DMS::Endpoint.PostgreSqlSettings": { "additionalProperties": false, "properties": { + "AfterConnectScript": { + "type": "string" + }, + "CaptureDdls": { + "type": "boolean" + }, + "DdlArtifactsSchema": { + "type": "string" + }, + "ExecuteTimeout": { + "type": "number" + }, + "FailTasksOnLobTruncation": { + "type": "boolean" + }, + "HeartbeatEnable": { + "type": "boolean" + }, + "HeartbeatFrequency": { + "type": "number" + }, + "HeartbeatSchema": { + "type": "string" + }, + "MaxFileSize": { + "type": "number" + }, + "PluginName": { + "type": "string" + }, "SecretsManagerAccessRoleArn": { "type": "string" }, "SecretsManagerSecretId": { "type": "string" + }, + "SlotName": { + "type": "string" } }, "type": "object" @@ -49465,7 +49594,7 @@ "additionalProperties": false, "properties": { "Provider": { - "type": "object" + "$ref": "#/definitions/AWS::EKS::Cluster.Provider" }, "Resources": { "items": { @@ -49509,6 +49638,15 @@ }, "type": "object" }, + "AWS::EKS::Cluster.Provider": { + "additionalProperties": false, + "properties": { + "KeyArn": { + "type": "string" + } + }, + "type": "object" + }, "AWS::EKS::Cluster.ResourcesVpcConfig": { "additionalProperties": false, "properties": { @@ -55758,6 +55896,164 @@ ], "type": "object" }, + "AWS::Events::Endpoint": { + "additionalProperties": false, + "properties": { + "DeletionPolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + }, + "DependsOn": { + "anyOf": [ + { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + { + "items": { + "pattern": "^[a-zA-Z0-9]+$", + "type": "string" + }, + "type": "array" + } + ] + }, + "Metadata": { + "type": "object" + }, + "Properties": { + "additionalProperties": false, + "properties": { + "Description": { + "type": "string" + }, + "EventBuses": { + "items": { + "$ref": "#/definitions/AWS::Events::Endpoint.EndpointEventBus" + }, + "type": "array" + }, + "Name": { + "type": "string" + }, + "ReplicationConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.ReplicationConfig" + }, + "RoleArn": { + "type": "string" + }, + "RoutingConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.RoutingConfig" + } + }, + "required": [ + "EventBuses", + "Name", + "RoutingConfig" + ], + "type": "object" + }, + "Type": { + "enum": [ + "AWS::Events::Endpoint" + ], + "type": "string" + }, + "UpdateReplacePolicy": { + "enum": [ + "Delete", + "Retain", + "Snapshot" + ], + "type": "string" + } + }, + "required": [ + "Type", + "Properties" + ], + "type": "object" + }, + "AWS::Events::Endpoint.EndpointEventBus": { + "additionalProperties": false, + "properties": { + "EventBusArn": { + "type": "string" + } + }, + "required": [ + "EventBusArn" + ], + "type": "object" + }, + "AWS::Events::Endpoint.FailoverConfig": { + "additionalProperties": false, + "properties": { + "Primary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Primary" + }, + "Secondary": { + "$ref": "#/definitions/AWS::Events::Endpoint.Secondary" + } + }, + "required": [ + "Primary", + "Secondary" + ], + "type": "object" + }, + "AWS::Events::Endpoint.Primary": { + "additionalProperties": false, + "properties": { + "HealthCheck": { + "type": "string" + } + }, + "required": [ + "HealthCheck" + ], + "type": "object" + }, + "AWS::Events::Endpoint.ReplicationConfig": { + "additionalProperties": false, + "properties": { + "State": { + "type": "string" + } + }, + "required": [ + "State" + ], + "type": "object" + }, + "AWS::Events::Endpoint.RoutingConfig": { + "additionalProperties": false, + "properties": { + "FailoverConfig": { + "$ref": "#/definitions/AWS::Events::Endpoint.FailoverConfig" + } + }, + "required": [ + "FailoverConfig" + ], + "type": "object" + }, + "AWS::Events::Endpoint.Secondary": { + "additionalProperties": false, + "properties": { + "Route": { + "type": "string" + } + }, + "required": [ + "Route" + ], + "type": "object" + }, "AWS::Events::EventBus": { "additionalProperties": false, "properties": { @@ -133993,6 +134289,9 @@ { "$ref": "#/definitions/AWS::Events::Connection" }, + { + "$ref": "#/definitions/AWS::Events::Endpoint" + }, { "$ref": "#/definitions/AWS::Events::EventBus" },