OccurenceArgs class

The set of arguments for Occurence. The set of arguments for Occurence.

Constructors

OccurenceArgs({required Input<OccurenceAttestation> attestation, Input<String?>? deletionPolicy, required Input<String> noteName, Input<String?>? project, Input<String?>? remediation, required Input<String> resourceUri})
Creates a new OccurenceArgs. attestation Occurrence that represents a single "attestation". The authenticity deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. noteName The analysis note associated with this occurrence, in the form of project The ID of the project in which the resource belongs. remediation A description of actions that can be taken to remedy the note. resourceUri Required. Immutable. A URI that represents the resource for which
const
OccurenceArgs.fromMap(Map<String, dynamic> map)
factory

Properties

attestation → Input<OccurenceAttestation>
Occurrence that represents a single "attestation". The authenticity of an attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the authority to which this attestation is attached is primarily useful for lookup (how to find this attestation if you already know the authority and artifact to be verified) and intent (for which authority this attestation was intended to sign. Structure is documented below.
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
hashCode → int
The hash code for this object.
no setterinherited
noteName → Input<String>
The analysis note associated with this occurrence, in the form of projects/PROJECT/notes/NOTE_ID. This field can be used as a filter in list requests.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
remediation → Input<String?>?
A description of actions that can be taken to remedy the note.
final
resourceUri → Input<String>
Required. Immutable. A URI that represents the resource for which the occurrence applies. For example, https://gcr.io/project/image@sha256:123abc for a Docker image.
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