0.0.1 • Published 3 years ago
@mcmastercloud/pulumi-module-aws-role v0.0.1
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 |
0.0.1
3 years ago