BucketRequestPaymentConfiguration constructor

BucketRequestPaymentConfiguration(
  1. String name, {
  2. BucketRequestPaymentConfigurationArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new BucketRequestPaymentConfiguration. name The Pulumi resource name. args Arguments used to configure this BucketRequestPaymentConfiguration. The set of arguments for BucketRequestPaymentConfiguration. options Resource options controlling this resource's behavior.

Implementation

BucketRequestPaymentConfiguration(
  String name, {
  BucketRequestPaymentConfigurationArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:s3/bucketRequestPaymentConfiguration:BucketRequestPaymentConfiguration',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  bucket = registerOutput<String>('bucket');
  expectedBucketOwner = registerOutput<String?>('expectedBucketOwner');
  payer = registerOutput<String>('payer');
  region = registerOutput<String>('region');
}