mirror of https://github.com/pulumi/pulumi.git
68 lines
2.0 KiB
C#
68 lines
2.0 KiB
C#
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
// <auto-generated/>
|
|
|
|
#nullable enable
|
|
|
|
using System.Collections.Immutable;
|
|
using System.Threading.Tasks;
|
|
using Pulumi.Serialization;
|
|
|
|
namespace Pulumi.Aws.S3
|
|
{
|
|
public static partial class Invokes
|
|
{
|
|
public static Task<GetBucketResult> GetBucket(GetBucketArgs args, InvokeOptions? options = null)
|
|
{
|
|
return Deployment.Instance.InvokeAsync<GetBucketResult>("aws:s3/getBucket:getBucket", args, options);
|
|
}
|
|
}
|
|
|
|
public class GetBucketArgs : ResourceArgs
|
|
{
|
|
[Input("bucket", required: true)]
|
|
public Input<string> Bucket { get; set; } = null!;
|
|
|
|
public GetBucketArgs()
|
|
{
|
|
}
|
|
}
|
|
|
|
[OutputType]
|
|
public class GetBucketResult
|
|
{
|
|
public readonly string Arn;
|
|
public readonly string Bucket;
|
|
public readonly string BucketDomainName;
|
|
public readonly string BucketRegionalDomainName;
|
|
public readonly string HostedZoneId;
|
|
public readonly string Region;
|
|
public readonly string WebsiteDomain;
|
|
public readonly string WebsiteEndpoint;
|
|
public readonly string Id;
|
|
|
|
[OutputConstructor]
|
|
private GetBucketResult(
|
|
string arn,
|
|
string bucket,
|
|
string bucketDomainName,
|
|
string bucketRegionalDomainName,
|
|
string hostedZoneId,
|
|
string region,
|
|
string websiteDomain,
|
|
string websiteEndpoint,
|
|
string id)
|
|
{
|
|
Arn = arn;
|
|
Bucket = bucket;
|
|
BucketDomainName = bucketDomainName;
|
|
BucketRegionalDomainName = bucketRegionalDomainName;
|
|
HostedZoneId = hostedZoneId;
|
|
Region = region;
|
|
WebsiteDomain = websiteDomain;
|
|
WebsiteEndpoint = websiteEndpoint;
|
|
Id = id;
|
|
}
|
|
}
|
|
}
|