Class: Aws::RolesAnywhere::Types::CreateProfileRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-rolesanywhere/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accept_role_session_nameBoolean

Used to determine if a custom role session name will be accepted in a temporary credential request.

Returns:

  • (Boolean)


97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 97

class CreateProfileRequest < Struct.new(
  :accept_role_session_name,
  :duration_seconds,
  :enabled,
  :managed_policy_arns,
  :name,
  :require_instance_properties,
  :role_arns,
  :session_policy,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#duration_secondsInteger

Used to determine how long sessions vended using this profile are valid for. See the ‘Expiration` section of the [CreateSession API documentation] page for more details. In requests, if this value is not provided, the default value will be 3600.

[1]: docs.aws.amazon.com/rolesanywhere/latest/userguide/authentication-create-session.html#credentials-object

Returns:

  • (Integer)


97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 97

class CreateProfileRequest < Struct.new(
  :accept_role_session_name,
  :duration_seconds,
  :enabled,
  :managed_policy_arns,
  :name,
  :require_instance_properties,
  :role_arns,
  :session_policy,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#enabledBoolean

Specifies whether the profile is enabled.

Returns:

  • (Boolean)


97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 97

class CreateProfileRequest < Struct.new(
  :accept_role_session_name,
  :duration_seconds,
  :enabled,
  :managed_policy_arns,
  :name,
  :require_instance_properties,
  :role_arns,
  :session_policy,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#managed_policy_arnsArray<String>

A list of managed policy ARNs that apply to the vended session credentials.

Returns:

  • (Array<String>)


97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 97

class CreateProfileRequest < Struct.new(
  :accept_role_session_name,
  :duration_seconds,
  :enabled,
  :managed_policy_arns,
  :name,
  :require_instance_properties,
  :role_arns,
  :session_policy,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the profile.

Returns:

  • (String)


97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 97

class CreateProfileRequest < Struct.new(
  :accept_role_session_name,
  :duration_seconds,
  :enabled,
  :managed_policy_arns,
  :name,
  :require_instance_properties,
  :role_arns,
  :session_policy,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#require_instance_propertiesBoolean

Specifies whether instance properties are required in temporary credential requests with this profile.

Returns:

  • (Boolean)


97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 97

class CreateProfileRequest < Struct.new(
  :accept_role_session_name,
  :duration_seconds,
  :enabled,
  :managed_policy_arns,
  :name,
  :require_instance_properties,
  :role_arns,
  :session_policy,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnsArray<String>

A list of IAM roles that this profile can assume in a temporary credential request.

Returns:

  • (Array<String>)


97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 97

class CreateProfileRequest < Struct.new(
  :accept_role_session_name,
  :duration_seconds,
  :enabled,
  :managed_policy_arns,
  :name,
  :require_instance_properties,
  :role_arns,
  :session_policy,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#session_policyString

A session policy that applies to the trust boundary of the vended session credentials.

Returns:

  • (String)


97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 97

class CreateProfileRequest < Struct.new(
  :accept_role_session_name,
  :duration_seconds,
  :enabled,
  :managed_policy_arns,
  :name,
  :require_instance_properties,
  :role_arns,
  :session_policy,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags to attach to the profile.

Returns:



97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'lib/aws-sdk-rolesanywhere/types.rb', line 97

class CreateProfileRequest < Struct.new(
  :accept_role_session_name,
  :duration_seconds,
  :enabled,
  :managed_policy_arns,
  :name,
  :require_instance_properties,
  :role_arns,
  :session_policy,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end