Class: Aws::OpenSearchServerless::Types::CreateSecurityPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::OpenSearchServerless::Types::CreateSecurityPolicyRequest
- Defined in:
- gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
Unique, case-sensitive identifier to ensure idempotency of the request.
-
#description ⇒ String
A description of the policy.
-
#name ⇒ String
The name of the policy.
-
#policy ⇒ String
The JSON policy document to use as the content for the new policy.
-
#type ⇒ String
The type of security policy.
Instance Attribute Details
#client_token ⇒ String
Unique, case-sensitive identifier to ensure idempotency of the request.
A suitable default value is auto-generated. You should normally not need to pass this option.
791 792 793 794 795 796 797 798 799 |
# File 'gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/types.rb', line 791 class CreateSecurityPolicyRequest < Struct.new( :client_token, :description, :name, :policy, :type) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A description of the policy. Typically used to store information about the permissions defined in the policy.
791 792 793 794 795 796 797 798 799 |
# File 'gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/types.rb', line 791 class CreateSecurityPolicyRequest < Struct.new( :client_token, :description, :name, :policy, :type) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the policy.
791 792 793 794 795 796 797 798 799 |
# File 'gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/types.rb', line 791 class CreateSecurityPolicyRequest < Struct.new( :client_token, :description, :name, :policy, :type) SENSITIVE = [] include Aws::Structure end |
#policy ⇒ String
The JSON policy document to use as the content for the new policy.
791 792 793 794 795 796 797 798 799 |
# File 'gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/types.rb', line 791 class CreateSecurityPolicyRequest < Struct.new( :client_token, :description, :name, :policy, :type) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The type of security policy.
791 792 793 794 795 796 797 798 799 |
# File 'gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/types.rb', line 791 class CreateSecurityPolicyRequest < Struct.new( :client_token, :description, :name, :policy, :type) SENSITIVE = [] include Aws::Structure end |