CloudRunV2ServiceBinaryAuthorization class

binary_authorization block. Enforces Binary Authorization on the service. Set useDefault OR policy (the two conflict at the provider level). breakglassJustification only takes effect when a policy denies admission and the deployer wants to override it.

Annotations
  • @immutable

Constructors

CloudRunV2ServiceBinaryAuthorization({TfArg<bool>? useDefault, TfArg<String>? policy, TfArg<String>? breakglassJustification})
const

Properties

breakglassJustification → TfArg<String>?
Justification string passed when breakglassing past a denied admission. See https://cloud.google.com/binary-authorization/docs/using-breakglass.
final
hashCode int
The hash code for this object.
no setterinherited
policy → TfArg<String>?
Path to a custom BinAuthz policy. Format: projects/{project}/platforms/cloudRun/{policy-name}. Conflicts with useDefault.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useDefault → TfArg<bool>?
true uses the project's default BinAuthz policy. Conflicts with policy.
final

Methods

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

Operators

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