ObjectAccessControlArgs class

The set of arguments for ObjectAccessControl. The set of arguments for ObjectAccessControl.

Constructors

ObjectAccessControlArgs({required Input<String> bucket, Input<String?>? deletionPolicy, required Input<String> entity, required Input<String> object_, required Input<String> role})
Creates a new ObjectAccessControlArgs. bucket The name of the bucket. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. entity The entity holding the permission, in one of the following forms: object_ The name of the object to apply the access control to. role The access permission for the entity.
const
ObjectAccessControlArgs.fromMap(Map<String, dynamic> map)
factory

Properties

bucket → Input<String>
The name of the bucket.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
entity → Input<String>
The entity holding the permission, in one of the following forms:
final
hashCode → int
The hash code for this object.
no setterinherited
object_ → Input<String>
The name of the object to apply the access control to.
final
role → Input<String>
The access permission for the entity. Possible values are: OWNER, READER.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited