class Amazonite::CloudFormation::Annotation

Overview

The Annotation data type.

A GetHookResult call returns detailed information and remediation guidance from Control Tower, Guard, Lambda, or custom Hooks for a Hook invocation result.

Defined in:

cloudformation/annotation.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(annotation_name : String | Nil = nil, status : AnnotationStatus | Nil = nil, status_message : String | Nil = nil, remediation_message : String | Nil = nil, remediation_link : String | Nil = nil, severity_level : AnnotationSeverityLevel | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def annotation_name : String | Nil #

An identifier for the evaluation logic that was used when invoking the Hook. For Control Tower, this is the control ID. For Guard, this is the rule ID. For Lambda and custom Hooks, this is a user-defined identifier.


[View source]
def annotation_name=(annotation_name : String | Nil) #

An identifier for the evaluation logic that was used when invoking the Hook. For Control Tower, this is the control ID. For Guard, this is the rule ID. For Lambda and custom Hooks, this is a user-defined identifier.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def remediation_link : String | Nil #

A URL that you can access for additional remediation guidance.


[View source]
def remediation_link=(remediation_link : String | Nil) #

A URL that you can access for additional remediation guidance.


[View source]
def remediation_message : String | Nil #

Suggests what to change if your Hook returns a FAILED status. For example, "Block public access to the bucket".


[View source]
def remediation_message=(remediation_message : String | Nil) #

Suggests what to change if your Hook returns a FAILED status. For example, "Block public access to the bucket".


[View source]
def severity_level : AnnotationSeverityLevel | Nil #

The relative risk associated with any violations of this type.


[View source]
def severity_level=(severity_level : AnnotationSeverityLevel | Nil) #

The relative risk associated with any violations of this type.


[View source]
def status : AnnotationStatus | Nil #

The status of the Hook invocation from the downstream service.


[View source]
def status=(status : AnnotationStatus | Nil) #

The status of the Hook invocation from the downstream service.


[View source]
def status_message : String | Nil #

The explanation for the specific status assigned to this Hook invocation. For example, "Bucket does not block public access".


[View source]
def status_message=(status_message : String | Nil) #

The explanation for the specific status assigned to this Hook invocation. For example, "Bucket does not block public access".


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def validate! : Nil #

[View source]