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

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_key_selection_expressionString

An expression used to extract information at runtime. See Selection Expressions for more information.

Returns:

  • (String)


694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 694

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :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 for more information.

Returns:



694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 694

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

#credentials_arnString

Represents an Amazon Resource Name (ARN).

Returns:

  • (String)


694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 694

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :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].

Returns:

  • (String)


694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 694

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

#disable_execute_api_endpointBoolean

Returns:

  • (Boolean)


694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 694

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

#disable_schema_validationBoolean

Returns:

  • (Boolean)


694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 694

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :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].

Returns:

  • (String)


694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 694

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

#protocol_typeString

Represents a protocol type.

Returns:

  • (String)


694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 694

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :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 for a list of expressions and each expression's associated selection key type.

Returns:

  • (String)


694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 694

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

#route_selection_expressionString

An expression used to extract information at runtime. See Selection Expressions for more information.

Returns:

  • (String)


694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 694

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :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.

Returns:

  • (Hash<String,String>)


694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 694

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :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].

Returns:

  • (String)


694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 694

class CreateApiRequest < Struct.new(
  :api_key_selection_expression,
  :cors_configuration,
  :credentials_arn,
  :description,
  :disable_schema_validation,
  :disable_execute_api_endpoint,
  :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].

Returns:

  • (String)


694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
# File 'gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/types.rb', line 694

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