Class: Aws::SecurityHub::Types::AwsApiGatewayRestApiDetails

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

Overview

Contains information about a REST API in version 1 of Amazon API Gateway.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_key_sourceString

The source of the API key for metering requests according to a usage plan.

‘HEADER` indicates whether to read the API key from the X-API-Key header of a request.

‘AUTHORIZER` indicates whether to read the API key from the `UsageIdentifierKey` from a custom authorizer.

Returns:

  • (String)


1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
# File 'lib/aws-sdk-securityhub/types.rb', line 1846

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#binary_media_typesArray<String>

The list of binary media types supported by the REST API.

Returns:

  • (Array<String>)


1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
# File 'lib/aws-sdk-securityhub/types.rb', line 1846

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_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)


1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
# File 'lib/aws-sdk-securityhub/types.rb', line 1846

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

A description of the REST API.

Returns:

  • (String)


1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
# File 'lib/aws-sdk-securityhub/types.rb', line 1846

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#endpoint_configurationTypes::AwsApiGatewayEndpointConfiguration

The endpoint configuration of the REST API.



1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
# File 'lib/aws-sdk-securityhub/types.rb', line 1846

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The identifier of the REST API.

Returns:

  • (String)


1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
# File 'lib/aws-sdk-securityhub/types.rb', line 1846

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#minimum_compression_sizeInteger

The minimum size in bytes of a payload before compression is enabled.

If ‘null`, then compression is disabled.

If 0, then all payloads are compressed.

Returns:

  • (Integer)


1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
# File 'lib/aws-sdk-securityhub/types.rb', line 1846

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the REST API.

Returns:

  • (String)


1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
# File 'lib/aws-sdk-securityhub/types.rb', line 1846

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#versionString

The version identifier for the REST API.

Returns:

  • (String)


1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
# File 'lib/aws-sdk-securityhub/types.rb', line 1846

class AwsApiGatewayRestApiDetails < Struct.new(
  :id,
  :name,
  :description,
  :created_date,
  :version,
  :binary_media_types,
  :minimum_compression_size,
  :api_key_source,
  :endpoint_configuration)
  SENSITIVE = []
  include Aws::Structure
end