Class: Aws::SecurityHub::Types::AwsApiGatewayV2ApiDetails

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

Overview

Contains information about a version 2 API in Amazon API Gateway.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_endpointString

The URI of the API.

Uses the format ‘ <api-id>.execute-api.<region>.amazonaws.com`

The stage name is typically appended to the URI to form a complete path to a deployed API stage.

Returns:

  • (String)


2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'lib/aws-sdk-securityhub/types.rb', line 2039

class AwsApiGatewayV2ApiDetails < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :version,
  :name,
  :protocol_type,
  :route_selection_expression,
  :cors_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#api_idString

The identifier of the API.

Returns:

  • (String)


2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'lib/aws-sdk-securityhub/types.rb', line 2039

class AwsApiGatewayV2ApiDetails < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :version,
  :name,
  :protocol_type,
  :route_selection_expression,
  :cors_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#api_key_selection_expressionString

An API key selection expression. Supported only for WebSocket APIs.

Returns:

  • (String)


2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'lib/aws-sdk-securityhub/types.rb', line 2039

class AwsApiGatewayV2ApiDetails < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :version,
  :name,
  :protocol_type,
  :route_selection_expression,
  :cors_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#cors_configurationTypes::AwsCorsConfiguration

A cross-origin resource sharing (CORS) configuration. Supported only for HTTP APIs.



2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'lib/aws-sdk-securityhub/types.rb', line 2039

class AwsApiGatewayV2ApiDetails < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :version,
  :name,
  :protocol_type,
  :route_selection_expression,
  :cors_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#created_dateString

Indicates when the API was created.

For more information about the validation and formatting of timestamp fields in Security Hub, see [Timestamps].

[1]: docs.aws.amazon.com/securityhub/1.0/APIReference/Welcome.html#timestamps

Returns:

  • (String)


2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'lib/aws-sdk-securityhub/types.rb', line 2039

class AwsApiGatewayV2ApiDetails < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :version,
  :name,
  :protocol_type,
  :route_selection_expression,
  :cors_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the API.

Returns:

  • (String)


2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'lib/aws-sdk-securityhub/types.rb', line 2039

class AwsApiGatewayV2ApiDetails < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :version,
  :name,
  :protocol_type,
  :route_selection_expression,
  :cors_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the API.

Returns:

  • (String)


2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'lib/aws-sdk-securityhub/types.rb', line 2039

class AwsApiGatewayV2ApiDetails < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :version,
  :name,
  :protocol_type,
  :route_selection_expression,
  :cors_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#protocol_typeString

The API protocol for the API.

Valid values: ‘WEBSOCKET` | `HTTP`

Returns:

  • (String)


2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'lib/aws-sdk-securityhub/types.rb', line 2039

class AwsApiGatewayV2ApiDetails < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :version,
  :name,
  :protocol_type,
  :route_selection_expression,
  :cors_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#route_selection_expressionString

The route selection expression for the API.

For HTTP APIs, must be ‘$Aws::SecurityHub::Types::AwsApiGatewayV2ApiDetails.requestrequest.method $Aws::SecurityHub::Types::AwsApiGatewayV2ApiDetails.requestrequest.path`. This is the default value for HTTP APIs.

For WebSocket APIs, there is no default value.

Returns:

  • (String)


2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'lib/aws-sdk-securityhub/types.rb', line 2039

class AwsApiGatewayV2ApiDetails < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :version,
  :name,
  :protocol_type,
  :route_selection_expression,
  :cors_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#versionString

The version identifier for the API.

Returns:

  • (String)


2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
# File 'lib/aws-sdk-securityhub/types.rb', line 2039

class AwsApiGatewayV2ApiDetails < Struct.new(
  :api_endpoint,
  :api_id,
  :api_key_selection_expression,
  :created_date,
  :description,
  :version,
  :name,
  :protocol_type,
  :route_selection_expression,
  :cors_configuration)
  SENSITIVE = []
  include Aws::Structure
end