UNPKG

@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)

48 lines (47 loc) 1.87 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * Resource schema for AWS::DataSync::LocationS3 */ export declare function getLocationS3(args: GetLocationS3Args, opts?: pulumi.InvokeOptions): Promise<GetLocationS3Result>; export interface GetLocationS3Args { /** * The Amazon Resource Name (ARN) of the Amazon S3 bucket location. */ locationArn: string; } export interface GetLocationS3Result { /** * The Amazon Resource Name (ARN) of the Amazon S3 bucket location. */ readonly locationArn?: string; /** * The URL of the S3 location that was described. */ readonly locationUri?: string; /** * The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that is used to access an Amazon S3 bucket. * * For detailed information about using such a role, see [Creating a Location for Amazon S3](https://docs.aws.amazon.com/datasync/latest/userguide/working-with-locations.html#create-s3-location) in the *AWS DataSync User Guide* . */ readonly s3Config?: outputs.datasync.LocationS3s3Config; /** * The Amazon S3 storage class you want to store your files in when this location is used as a task destination. */ readonly s3StorageClass?: enums.datasync.LocationS3S3StorageClass; /** * An array of key-value pairs to apply to this resource. */ readonly tags?: outputs.Tag[]; } /** * Resource schema for AWS::DataSync::LocationS3 */ export declare function getLocationS3Output(args: GetLocationS3OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLocationS3Result>; export interface GetLocationS3OutputArgs { /** * The Amazon Resource Name (ARN) of the Amazon S3 bucket location. */ locationArn: pulumi.Input<string>; }