Class: Aws::AccessAnalyzer::Types::CreateArchiveRuleRequest

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

Overview

Note:

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

{
  analyzer_name: "Name", # required
  client_token: "String",
  filter: { # required
    "String" => {
      contains: ["String"],
      eq: ["String"],
      exists: false,
      neq: ["String"],
    },
  },
  rule_name: "Name", # required
}

Creates an archive rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#analyzer_nameString

The name of the created analyzer.

Returns:

  • (String)


935
936
937
938
939
940
941
942
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 935

class CreateArchiveRuleRequest < Struct.new(
  :analyzer_name,
  :client_token,
  :filter,
  :rule_name)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

A client token.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


935
936
937
938
939
940
941
942
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 935

class CreateArchiveRuleRequest < Struct.new(
  :analyzer_name,
  :client_token,
  :filter,
  :rule_name)
  SENSITIVE = []
  include Aws::Structure
end

#filterHash<String,Types::Criterion>

The criteria for the rule.

Returns:



935
936
937
938
939
940
941
942
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 935

class CreateArchiveRuleRequest < Struct.new(
  :analyzer_name,
  :client_token,
  :filter,
  :rule_name)
  SENSITIVE = []
  include Aws::Structure
end

#rule_nameString

The name of the rule to create.

Returns:

  • (String)


935
936
937
938
939
940
941
942
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/types.rb', line 935

class CreateArchiveRuleRequest < Struct.new(
  :analyzer_name,
  :client_token,
  :filter,
  :rule_name)
  SENSITIVE = []
  include Aws::Structure
end