Пример #1
0
 /// <summary>
 /// Provides details about a specific S3 bucket.
 ///
 /// This resource may prove useful when setting up a Route53 record, or an origin for a CloudFront
 /// Distribution.
 ///
 /// {{% examples %}}
 /// {{% /examples %}}
 /// </summary>
 public static Task <GetBucketResult> InvokeAsync(GetBucketArgs args, InvokeOptions?options = null)
 => Pulumi.Deployment.Instance.InvokeAsync <GetBucketResult>("aws:s3/getBucket:getBucket", args ?? new GetBucketArgs(), options.WithVersion());
Пример #2
0
 public static Task <GetBucketResult> GetBucket(GetBucketArgs args, InvokeOptions?options = null)
 {
     return(Deployment.Instance.InvokeAsync <GetBucketResult>("aws:s3/getBucket:getBucket", args, options));
 }