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 dictionary
The following arguments are supported:
- Location
Arn string - The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
- Location
Arn string - The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
- location
Arn String - The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
- location
Arn 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.
- location
Arn String - The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
getLocationS3 Result
The following output properties are available:
- Location
Arn string - The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
- Location
Uri 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 .
- S3Storage
Class 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.
- Location
Arn string - The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
- Location
Uri string - The URL of the S3 location that was described.
- S3Config
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 .
- S3Storage
Class 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 String - The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
- location
Uri String - The URL of the S3 location that was described.
- s3Config
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 .
- s3Storage
Class 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.
- location
Arn string - The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
- location
Uri string - The URL of the S3 location that was described.
- s3Config
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 .
- s3Storage
Class 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.
- location
Arn String - The Amazon Resource Name (ARN) of the Amazon S3 bucket location.
- location
Uri 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 .
- s3Storage
Class "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
- Bucket
Access stringRole Arn - The ARN of the IAM role of the Amazon S3 bucket.
- Bucket
Access stringRole Arn - The ARN of the IAM role of the Amazon S3 bucket.
- bucket
Access StringRole Arn - The ARN of the IAM role of the Amazon S3 bucket.
- bucket
Access 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.
- bucket
Access 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.