0.0.1 • Published 3 years ago

@mcmastercloud/pulumi-module-aws-role v0.0.1

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
3 years ago

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

ArgumentDescriptionMandatoryTypeNotes
NameThe name of the RoleTrueString
AttributesRole AttributeTrueObject({ assumableBy: string})assumableBy = the AWS service that can assume this role (i.e. sns.amazonaws.com)

Return Values

ArgumentDescriptionMandatoryTypeNotes
OutputOutput of the function callTrueObject({ arn: string})arn = The ARN of the role that has been created
0.0.1

3 years ago