@mcmastercloud/pulumi-module-aws-role
v0.0.1
Published
![Alt Text](https://www.pulumi.com/logos/brand/logo-on-white.png) # AWS | Role <hr/>
Downloads
2
Readme
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|