1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. datasync
  5. getLocationS3

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.25.0 published on Monday, Feb 3, 2025 by Pulumi

aws-native.datasync.getLocationS3

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.25.0 published on Monday, Feb 3, 2025 by Pulumi

    Resource schema for AWS::DataSync::LocationS3

    Using getLocationS3

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getLocationS3(args: GetLocationS3Args, opts?: InvokeOptions): Promise<GetLocationS3Result>
    function getLocationS3Output(args: GetLocationS3OutputArgs, opts?: InvokeOptions): Output<GetLocationS3Result>
    def get_location_s3(location_arn: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetLocationS3Result
    def get_location_s3_output(location_arn: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetLocationS3Result]
    func LookupLocationS3(ctx *Context, args *LookupLocationS3Args, opts ...InvokeOption) (*LookupLocationS3Result, error)
    func LookupLocationS3Output(ctx *Context, args *LookupLocationS3OutputArgs, opts ...InvokeOption) LookupLocationS3ResultOutput

    > Note: This function is named LookupLocationS3 in the Go SDK.

    public static class GetLocationS3 
    {
        public static Task<GetLocationS3Result> InvokeAsync(GetLocationS3Args args, InvokeOptions? opts = null)
        public static Output<GetLocationS3Result> Invoke(GetLocationS3InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetLocationS3Result> getLocationS3(GetLocationS3Args args, InvokeOptions options)
    public static Output<GetLocationS3Result> getLocationS3(GetLocationS3Args args, InvokeOptions options)
    
    fn::invoke:
      function: aws-native:datasync:getLocationS3
      arguments:
        # arguments dictionary

    The following arguments are supported:

    LocationArn string
    The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
    LocationArn string
    The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
    locationArn String
    The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
    locationArn string
    The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
    location_arn str
    The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
    locationArn String
    The Amazon Resource Name (ARN) of the Amazon S3 bucket location.

    getLocationS3 Result

    The following output properties are available:

    LocationArn string
    The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
    LocationUri string
    The URL of the S3 location that was described.
    S3Config Pulumi.AwsNative.DataSync.Outputs.LocationS3s3Config

    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 in the AWS DataSync User Guide .

    S3StorageClass Pulumi.AwsNative.DataSync.LocationS3S3StorageClass
    The Amazon S3 storage class you want to store your files in when this location is used as a task destination.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    LocationArn string
    The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
    LocationUri string
    The URL of the S3 location that was described.
    S3Config LocationS3s3Config

    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 in the AWS DataSync User Guide .

    S3StorageClass LocationS3S3StorageClass
    The Amazon S3 storage class you want to store your files in when this location is used as a task destination.
    Tags Tag
    An array of key-value pairs to apply to this resource.
    locationArn String
    The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
    locationUri String
    The URL of the S3 location that was described.
    s3Config LocationS3s3Config

    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 in the AWS DataSync User Guide .

    s3StorageClass LocationS3S3StorageClass
    The Amazon S3 storage class you want to store your files in when this location is used as a task destination.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    locationArn string
    The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
    locationUri string
    The URL of the S3 location that was described.
    s3Config LocationS3s3Config

    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 in the AWS DataSync User Guide .

    s3StorageClass LocationS3S3StorageClass
    The Amazon S3 storage class you want to store your files in when this location is used as a task destination.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    location_arn str
    The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
    location_uri str
    The URL of the S3 location that was described.
    s3_config LocationS3s3Config

    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 in the AWS DataSync User Guide .

    s3_storage_class LocationS3S3StorageClass
    The Amazon S3 storage class you want to store your files in when this location is used as a task destination.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    locationArn String
    The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
    locationUri String
    The URL of the S3 location that was described.
    s3Config Property Map

    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 in the AWS DataSync User Guide .

    s3StorageClass "STANDARD" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "GLACIER_INSTANT_RETRIEVAL" | "DEEP_ARCHIVE"
    The Amazon S3 storage class you want to store your files in when this location is used as a task destination.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Supporting Types

    LocationS3S3StorageClass

    LocationS3s3Config

    BucketAccessRoleArn string
    The ARN of the IAM role of the Amazon S3 bucket.
    BucketAccessRoleArn string
    The ARN of the IAM role of the Amazon S3 bucket.
    bucketAccessRoleArn String
    The ARN of the IAM role of the Amazon S3 bucket.
    bucketAccessRoleArn string
    The ARN of the IAM role of the Amazon S3 bucket.
    bucket_access_role_arn str
    The ARN of the IAM role of the Amazon S3 bucket.
    bucketAccessRoleArn String
    The ARN of the IAM role of the Amazon S3 bucket.

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.25.0 published on Monday, Feb 3, 2025 by Pulumi