BucketACL constructor

BucketACL(
  1. String name, {
  2. BucketACLArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

BucketACL(
  String name, {
  BucketACLArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:storage/bucketACL:BucketACL',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
      ) {
  bucket = registerOutput<String>('bucket');
  defaultAcl = registerOutput<String?>('defaultAcl');
  deletionPolicy = registerOutput<String>('deletionPolicy');
  predefinedAcl = registerOutput<String?>('predefinedAcl');
  roleEntities = registerOutput<List<String>>('roleEntities', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
}