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

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#accept_role_session_name ⇒ Boolean

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

Returns:

  • (Boolean)


129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 129

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

#alias_name ⇒ String

An alias for the profile. When you set an alias, the response includes the alias ARN of the profile in aliasArn.

An alias name contains 1 to 256 characters. It must begin with a letter (A-Z or a-z). It can contain only letters (A-Z and a-z), numbers (0-9), underscores (_), hyphens (-), and forward slashes (/). A forward slash can appear only between two other characters, so an alias name can't end with a forward slash or contain two in a row. Alias names that begin with aws/, in any combination of uppercase and lowercase letters, are reserved. Alias names are case sensitive.

The alias name must be unique among resources of the same type in your account and Region. If another resource of the same type already has the alias, the request fails with a ValidationException. An invalid or reserved alias name also causes a ValidationException.

If you omit this parameter or specify an empty string, the resource is created without an alias.

Returns:

  • (String)


129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 129

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

#duration_seconds ⇒ Integer

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.

Returns:

  • (Integer)


129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 129

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

#enabled ⇒ Boolean

Specifies whether the profile is enabled.

Returns:

  • (Boolean)


129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 129

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

#managed_policy_arns ⇒ Array<String>

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

Returns:

  • (Array<String>)


129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 129

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

#name ⇒ String

The name of the profile.

Returns:

  • (String)


129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 129

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

#require_instance_properties ⇒ Boolean

Unused, saved for future use. Will likely specify whether instance properties are required in temporary credential requests with this profile.

Returns:

  • (Boolean)


129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 129

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

#role_arns ⇒ Array<String>

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

Returns:

  • (Array<String>)


129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 129

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

#session_policy ⇒ String

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

Returns:

  • (String)


129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 129

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

#tags ⇒ Array<Types::Tag>

The tags to attach to the profile.

Returns:



129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 129

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

#tip_configuration ⇒ Types::TipConfiguration

The trusted identity propagation (TIP) settings for the profile. When you enable TIP, sessions from the profile include the identity from the certificate in aws:OriginIdentity condition keys.

If you omit this parameter, the profile doesn't use TIP.



129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 129

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