BucketRequestPaymentConfigurationV2 constructor

BucketRequestPaymentConfigurationV2(
  1. String name, {
  2. BucketRequestPaymentConfigurationV2Args? args,
  3. CustomResourceOptions? options,
})

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

Implementation

BucketRequestPaymentConfigurationV2(
  String name, {
  BucketRequestPaymentConfigurationV2Args? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:s3/bucketRequestPaymentConfigurationV2:BucketRequestPaymentConfigurationV2',
        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');
}