@mcmastercloud/pulumi-module-aws-role

0.0.1 • Public • Published

Alt Text

AWS | Role


The following code snippet is an example of how to use this module.

import * as role from './role';

let attributes: role.attributes = {
    assumableBy: "lambda.amazonaws.com"
};

let output = role.createRole("testRole", attributes);

export { output };

Arguments

Argument Description Mandatory Type Notes
Name The name of the Role True String
Attributes Role Attribute True Object({
 assumableBy: string
})
assumableBy = the AWS service that can assume this role (i.e. sns.amazonaws.com)

Return Values

Argument Description Mandatory Type Notes
Output Output of the function call True Object({
 arn: string
})
arn = The ARN of the role that has been created

Readme

Keywords

none

Package Sidebar

Install

npm i @mcmastercloud/pulumi-module-aws-role

Weekly Downloads

0

Version

0.0.1

License

ISC

Unpacked Size

8.5 kB

Total Files

9

Last publish

Collaborators

  • stephenmcmaster