Class: Aws::Context::Types::CreateCurationPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Context::Types::CreateCurationPolicyRequest
- Defined in:
- gems/aws-sdk-context/lib/aws-sdk-context/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#auto_reject_after_seconds ⇒ Integer
The number of seconds that a curation proposal held for review under this policy can wait for a decision before it is rejected automatically.
-
#client_token ⇒ String
A unique, case-sensitive identifier that you provide to make the request idempotent.
-
#description ⇒ String
A description of the curation policy.
-
#name ⇒ String
The name of the curation policy.
-
#policy_document ⇒ String
The policy's rules, as a Cedar policy document.
-
#tags ⇒ Hash<String,String>
Tags to add to the curation policy when you create it: up to 200 in the request, of which at most 50 can be user tags.
Instance Attribute Details
#auto_reject_after_seconds ⇒ Integer
The number of seconds that a curation proposal held for review under this policy can wait for a decision before it is rejected automatically. Valid range: 86,400 (1 day) to 15,552,000 (180 days). If you omit it, proposals held under this policy are never rejected automatically.
2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2081 class CreateCurationPolicyRequest < Struct.new( :client_token, :name, :description, :policy_document, :auto_reject_after_seconds, :tags) SENSITIVE = [] include Aws::Structure end |
#client_token ⇒ String
A unique, case-sensitive identifier that you provide to make the request idempotent. A retry with the same token and the same parameters returns the curation policy that the first request created. If you don't specify one, the AWS SDKs generate one.
A suitable default value is auto-generated. You should normally not need to pass this option.
2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2081 class CreateCurationPolicyRequest < Struct.new( :client_token, :name, :description, :policy_document, :auto_reject_after_seconds, :tags) SENSITIVE = [] include Aws::Structure end |
#description ⇒ String
A description of the curation policy. Up to 1,024 characters, with no control characters.
2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2081 class CreateCurationPolicyRequest < Struct.new( :client_token, :name, :description, :policy_document, :auto_reject_after_seconds, :tags) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the curation policy. 3 to 63 characters: it must start with a letter and can contain only ASCII letters, digits, and hyphens.
2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2081 class CreateCurationPolicyRequest < Struct.new( :client_token, :name, :description, :policy_document, :auto_reject_after_seconds, :tags) SENSITIVE = [] include Aws::Structure end |
#policy_document ⇒ String
The policy's rules, as a Cedar policy document.
2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2081 class CreateCurationPolicyRequest < Struct.new( :client_token, :name, :description, :policy_document, :auto_reject_after_seconds, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
Tags to add to the curation policy when you create it: up to 200 in
the request, of which at most 50 can be user tags. Keys can't start
with aws:. To add tags, you also need context:TagResource
permission on the new curation policy. If you specify more than 50
user tags, the request fails with ServiceQuotaExceededException,
as on TagResource. If an AWS Organizations tag policy refuses a tag,
the request fails with ValidationException.
2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 |
# File 'gems/aws-sdk-context/lib/aws-sdk-context/types.rb', line 2081 class CreateCurationPolicyRequest < Struct.new( :client_token, :name, :description, :policy_document, :auto_reject_after_seconds, :tags) SENSITIVE = [] include Aws::Structure end |