You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::SecurityHub::Types::StandardsSubscriptionRequest

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

Overview

Note:

When making an API call, you may pass StandardsSubscriptionRequest data as a hash:

{
  standards_arn: "NonEmptyString", # required
  standards_input: {
    "NonEmptyString" => "NonEmptyString",
  },
}

The standard that you want to enable.

Instance Attribute Summary collapse

Instance Attribute Details

#standards_arnString

The ARN of the standard that you want to enable.

In this release, Security Hub only supports the CIS AWS Foundations standard.

Its ARN is arn:aws:securityhub:::ruleset/cis-aws-foundations-benchmark/v/1.2.0.

Returns:

  • (String)


5068
5069
5070
5071
5072
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5068

class StandardsSubscriptionRequest < Struct.new(
  :standards_arn,
  :standards_input)
  include Aws::Structure
end

#standards_inputHash<String,String>

A key-value pair of input for the standard.

Returns:

  • (Hash<String,String>)


5068
5069
5070
5071
5072
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 5068

class StandardsSubscriptionRequest < Struct.new(
  :standards_arn,
  :standards_input)
  include Aws::Structure
end