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

#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.

Returns:

  • (Integer)


92
93
94
95
96
97
98
99
100
101
102
103
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 92

class CreateProfileRequest < Struct.new(
  :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)


92
93
94
95
96
97
98
99
100
101
102
103
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 92

class CreateProfileRequest < Struct.new(
  :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>)


92
93
94
95
96
97
98
99
100
101
102
103
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 92

class CreateProfileRequest < Struct.new(
  :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)


92
93
94
95
96
97
98
99
100
101
102
103
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 92

class CreateProfileRequest < Struct.new(
  :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)


92
93
94
95
96
97
98
99
100
101
102
103
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 92

class CreateProfileRequest < Struct.new(
  :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>)


92
93
94
95
96
97
98
99
100
101
102
103
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 92

class CreateProfileRequest < Struct.new(
  :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)


92
93
94
95
96
97
98
99
100
101
102
103
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 92

class CreateProfileRequest < Struct.new(
  :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:



92
93
94
95
96
97
98
99
100
101
102
103
# File 'gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/types.rb', line 92

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