CfnInstanceProfileProps

class aws_cdk.aws_iam.CfnInstanceProfileProps(*, roles, instance_profile_name=None, path=None)

Bases: object

__init__(*, roles, instance_profile_name=None, path=None)

Properties for defining a AWS::IAM::InstanceProfile.

Parameters
  • roles (List[str]) – AWS::IAM::InstanceProfile.Roles.

  • instance_profile_name (Optional[str]) – AWS::IAM::InstanceProfile.InstanceProfileName.

  • path (Optional[str]) – AWS::IAM::InstanceProfile.Path.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html

Return type

None

Attributes

instance_profile_name

AWS::IAM::InstanceProfile.InstanceProfileName.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html#cfn-iam-instanceprofile-instanceprofilename

Return type

Optional[str]

path

AWS::IAM::InstanceProfile.Path.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html#cfn-iam-instanceprofile-path

Return type

Optional[str]

roles

AWS::IAM::InstanceProfile.Roles.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html#cfn-iam-instanceprofile-roles

Return type

List[str]