We recommend new projects start with resources from the AWS provider.
aws-native.datasync.getLocationS3
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
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 dictionaryThe 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.Aws Native. Data Sync. Outputs. Location S3s3Config 
- 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.Aws Native. Data Sync. Location S3S3Storage Class 
- The Amazon S3 storage class you want to store your files in when this location is used as a task destination.
- 
List<Pulumi.Aws Native. 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 LocationS3S3Storage Class 
- The Amazon S3 storage class you want to store your files in when this location is used as a task destination.
- 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 LocationS3S3Storage Class 
- The Amazon S3 storage class you want to store your files in when this location is used as a task destination.
- 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 LocationS3S3Storage Class 
- The Amazon S3 storage class you want to store your files in when this location is used as a task destination.
- 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_ Locationclass S3S3Storage Class 
- The Amazon S3 storage class you want to store your files in when this location is used as a task destination.
- 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.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Supporting Types
LocationS3S3StorageClass  
LocationS3s3Config 
- BucketAccess stringRole Arn 
- The ARN of the IAM role of the Amazon S3 bucket.
- BucketAccess stringRole Arn 
- The ARN of the IAM role of the Amazon S3 bucket.
- bucketAccess StringRole Arn 
- The ARN of the IAM role of the Amazon S3 bucket.
- bucketAccess stringRole Arn 
- The ARN of the IAM role of the Amazon S3 bucket.
- bucket_access_ strrole_ arn 
- The ARN of the IAM role of the Amazon S3 bucket.
- bucketAccess StringRole Arn 
- The ARN of the IAM role of the Amazon S3 bucket.
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.