Class: Aws::ApiGatewayV2::Types::CreateApiRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-apigatewayv2/types.rb

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_key_selection_expressionString



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 802

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :ip_address_type,
  :name,
  :protocol_type,
  :route_key,
  :route_selection_expression,
  :tags,
  :target,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#cors_configurationTypes::Cors

Represents a CORS configuration. Supported only for HTTP APIs. See

Configuring CORS][1

for more information.

[1]: docs.aws.amazon.com/apigateway/latest/developerguide/http-api-cors.html



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 802

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :ip_address_type,
  :name,
  :protocol_type,
  :route_key,
  :route_selection_expression,
  :tags,
  :target,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#credentials_arnString

Represents an Amazon Resource Name (ARN).



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 802

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :ip_address_type,
  :name,
  :protocol_type,
  :route_key,
  :route_selection_expression,
  :tags,
  :target,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A string with a length between [0-1024].



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 802

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :ip_address_type,
  :name,
  :protocol_type,
  :route_key,
  :route_selection_expression,
  :tags,
  :target,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#disable_execute_api_endpointBoolean



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 802

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :ip_address_type,
  :name,
  :protocol_type,
  :route_key,
  :route_selection_expression,
  :tags,
  :target,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#disable_schema_validationBoolean



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 802

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :ip_address_type,
  :name,
  :protocol_type,
  :route_key,
  :route_selection_expression,
  :tags,
  :target,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#ip_address_typeString

The IP address types that can invoke the API.



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 802

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :ip_address_type,
  :name,
  :protocol_type,
  :route_key,
  :route_selection_expression,
  :tags,
  :target,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

A string with a length between [1-128].



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 802

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :ip_address_type,
  :name,
  :protocol_type,
  :route_key,
  :route_selection_expression,
  :tags,
  :target,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#protocol_typeString

Represents a protocol type.



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 802

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :ip_address_type,
  :name,
  :protocol_type,
  :route_key,
  :route_selection_expression,
  :tags,
  :target,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#route_keyString

After evaluating a selection expression, the result is compared against one or more selection keys to find a matching key. See

Selection Expressions][1

for a list of expressions and each

expression’s associated selection key type.

[1]: docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 802

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :ip_address_type,
  :name,
  :protocol_type,
  :route_key,
  :route_selection_expression,
  :tags,
  :target,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#route_selection_expressionString



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 802

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :ip_address_type,
  :name,
  :protocol_type,
  :route_key,
  :route_selection_expression,
  :tags,
  :target,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

Represents a collection of tags associated with the resource.



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 802

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :ip_address_type,
  :name,
  :protocol_type,
  :route_key,
  :route_selection_expression,
  :tags,
  :target,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#targetString

A string representation of a URI with a length between [1-2048].



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 802

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :ip_address_type,
  :name,
  :protocol_type,
  :route_key,
  :route_selection_expression,
  :tags,
  :target,
  :version)
  SENSITIVE = []
  include Aws::Structure
end

#versionString

A string with a length between [1-64].



802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
# File 'lib/aws-sdk-apigatewayv2/types.rb', line 802

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :ip_address_type,
  :name,
  :protocol_type,
  :route_key,
  :route_selection_expression,
  :tags,
  :target,
  :version)
  SENSITIVE = []
  include Aws::Structure
end