You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::IAM::Types::InstanceProfile

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

Overview

Contains information about an instance profile.

This data type is used as a response element in the following actions:

  • CreateInstanceProfile

  • GetInstanceProfile

  • ListInstanceProfiles

  • ListInstanceProfilesForRole

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) specifying the instance profile. For more information about ARNs and how to use them in policies, see IAM Identifiers in the Using IAM guide.

Returns:

  • (String)


3701
3702
3703
3704
3705
3706
3707
3708
3709
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3701

class InstanceProfile < Struct.new(
  :path,
  :instance_profile_name,
  :instance_profile_id,
  :arn,
  :create_date,
  :roles)
  include Aws::Structure
end

#create_dateTime

The date when the instance profile was created.

Returns:

  • (Time)


3701
3702
3703
3704
3705
3706
3707
3708
3709
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3701

class InstanceProfile < Struct.new(
  :path,
  :instance_profile_name,
  :instance_profile_id,
  :arn,
  :create_date,
  :roles)
  include Aws::Structure
end

#instance_profile_idString

The stable and unique string identifying the instance profile. For more information about IDs, see IAM Identifiers in the Using IAM guide.

Returns:

  • (String)


3701
3702
3703
3704
3705
3706
3707
3708
3709
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3701

class InstanceProfile < Struct.new(
  :path,
  :instance_profile_name,
  :instance_profile_id,
  :arn,
  :create_date,
  :roles)
  include Aws::Structure
end

#instance_profile_nameString

The name identifying the instance profile.

Returns:

  • (String)


3701
3702
3703
3704
3705
3706
3707
3708
3709
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3701

class InstanceProfile < Struct.new(
  :path,
  :instance_profile_name,
  :instance_profile_id,
  :arn,
  :create_date,
  :roles)
  include Aws::Structure
end

#pathString

The path to the instance profile. For more information about paths, see IAM Identifiers in the Using IAM guide.

Returns:

  • (String)


3701
3702
3703
3704
3705
3706
3707
3708
3709
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3701

class InstanceProfile < Struct.new(
  :path,
  :instance_profile_name,
  :instance_profile_id,
  :arn,
  :create_date,
  :roles)
  include Aws::Structure
end

#rolesArray<Types::Role>

The role associated with the instance profile.

Returns:



3701
3702
3703
3704
3705
3706
3707
3708
3709
# File 'gems/aws-sdk-iam/lib/aws-sdk-iam/types.rb', line 3701

class InstanceProfile < Struct.new(
  :path,
  :instance_profile_name,
  :instance_profile_id,
  :arn,
  :create_date,
  :roles)
  include Aws::Structure
end