Class: Aws::CognitoIdentityProvider::Types::CreateCIMDPolicyRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:client_id]

Instance Attribute Summary collapse

Instance Attribute Details

#cache_duration ⇒ Integer

The length of time, in seconds, that Amazon Cognito caches a client metadata document that it retrieved from a URL that matches the policy. The value must be between 86,400 seconds (one day) and 31,556,952 seconds (one year).

Returns:

  • (Integer)


4084
4085
4086
4087
4088
4089
4090
4091
4092
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 4084

class CreateCIMDPolicyRequest < Struct.new(
  :user_pool_id,
  :client_id,
  :policy_name,
  :cache_duration,
  :url_patterns)
  SENSITIVE = [:client_id]
  include Aws::Structure
end

#client_id ⇒ String

The ID of the app client that you want to associate with the CIMD policy.

Returns:

  • (String)


4084
4085
4086
4087
4088
4089
4090
4091
4092
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 4084

class CreateCIMDPolicyRequest < Struct.new(
  :user_pool_id,
  :client_id,
  :policy_name,
  :cache_duration,
  :url_patterns)
  SENSITIVE = [:client_id]
  include Aws::Structure
end

#policy_name ⇒ String

A friendly name for the CIMD policy.

Returns:

  • (String)


4084
4085
4086
4087
4088
4089
4090
4091
4092
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 4084

class CreateCIMDPolicyRequest < Struct.new(
  :user_pool_id,
  :client_id,
  :policy_name,
  :cache_duration,
  :url_patterns)
  SENSITIVE = [:client_id]
  include Aws::Structure
end

#url_patterns ⇒ Array<String>

One to five HTTPS URL patterns. Amazon Cognito accepts a client ID metadata document URL only when it matches one of these patterns. Patterns can contain the * wildcard character.

Returns:

  • (Array<String>)


4084
4085
4086
4087
4088
4089
4090
4091
4092
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 4084

class CreateCIMDPolicyRequest < Struct.new(
  :user_pool_id,
  :client_id,
  :policy_name,
  :cache_duration,
  :url_patterns)
  SENSITIVE = [:client_id]
  include Aws::Structure
end

#user_pool_id ⇒ String

The ID of the user pool where you want to create the CIMD policy.

Returns:

  • (String)


4084
4085
4086
4087
4088
4089
4090
4091
4092
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 4084

class CreateCIMDPolicyRequest < Struct.new(
  :user_pool_id,
  :client_id,
  :policy_name,
  :cache_duration,
  :url_patterns)
  SENSITIVE = [:client_id]
  include Aws::Structure
end