@pulumi/aws-native
Version:
The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)
32 lines (31 loc) • 948 B
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Resource Type definition for AWS::IAM::ServiceLinkedRole
*/
export declare function getServiceLinkedRole(args: GetServiceLinkedRoleArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceLinkedRoleResult>;
export interface GetServiceLinkedRoleArgs {
/**
* The name of the role.
*/
roleName: string;
}
export interface GetServiceLinkedRoleResult {
/**
* The description of the role.
*/
readonly description?: string;
/**
* The name of the role.
*/
readonly roleName?: string;
}
/**
* Resource Type definition for AWS::IAM::ServiceLinkedRole
*/
export declare function getServiceLinkedRoleOutput(args: GetServiceLinkedRoleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServiceLinkedRoleResult>;
export interface GetServiceLinkedRoleOutputArgs {
/**
* The name of the role.
*/
roleName: pulumi.Input<string>;
}