Documentation ¶
Index ¶
- type Audit
- type AuditAttributes
- func (a AuditAttributes) FindingsDestination() terra.ListValue[FindingsDestinationAttributes]
- func (a AuditAttributes) InternalRef() (terra.Reference, error)
- func (a AuditAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (a AuditAttributes) InternalWithRef(ref terra.Reference) AuditAttributes
- type AuditState
- type CloudwatchLogs
- type CloudwatchLogsAttributes
- func (cl CloudwatchLogsAttributes) InternalRef() (terra.Reference, error)
- func (cl CloudwatchLogsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cl CloudwatchLogsAttributes) InternalWithRef(ref terra.Reference) CloudwatchLogsAttributes
- func (cl CloudwatchLogsAttributes) LogGroup() terra.StringValue
- type CloudwatchLogsState
- type Deidentify
- type DeidentifyAttributes
- func (d DeidentifyAttributes) InternalRef() (terra.Reference, error)
- func (d DeidentifyAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (d DeidentifyAttributes) InternalWithRef(ref terra.Reference) DeidentifyAttributes
- func (d DeidentifyAttributes) MaskConfig() terra.ListValue[MaskConfigAttributes]
- type DeidentifyState
- type FindingsDestination
- type FindingsDestinationAttributes
- func (fd FindingsDestinationAttributes) CloudwatchLogs() terra.ListValue[CloudwatchLogsAttributes]
- func (fd FindingsDestinationAttributes) Firehose() terra.ListValue[FirehoseAttributes]
- func (fd FindingsDestinationAttributes) InternalRef() (terra.Reference, error)
- func (fd FindingsDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (fd FindingsDestinationAttributes) InternalWithRef(ref terra.Reference) FindingsDestinationAttributes
- func (fd FindingsDestinationAttributes) S3() terra.ListValue[S3Attributes]
- type FindingsDestinationState
- type Firehose
- type FirehoseAttributes
- type FirehoseState
- type MaskConfig
- type MaskConfigAttributes
- type MaskConfigState
- type Operation
- type OperationAttributes
- func (o OperationAttributes) Audit() terra.ListValue[AuditAttributes]
- func (o OperationAttributes) Deidentify() terra.ListValue[DeidentifyAttributes]
- func (o OperationAttributes) InternalRef() (terra.Reference, error)
- func (o OperationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (o OperationAttributes) InternalWithRef(ref terra.Reference) OperationAttributes
- type OperationState
- type S3
- type S3Attributes
- type S3State
- type Statement
- type StatementAttributes
- func (s StatementAttributes) DataIdentifiers() terra.SetValue[terra.StringValue]
- func (s StatementAttributes) InternalRef() (terra.Reference, error)
- func (s StatementAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s StatementAttributes) InternalWithRef(ref terra.Reference) StatementAttributes
- func (s StatementAttributes) Operation() terra.ListValue[OperationAttributes]
- func (s StatementAttributes) Sid() terra.StringValue
- type StatementState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Audit ¶
type Audit struct { // FindingsDestination: required FindingsDestination *FindingsDestination `hcl:"findings_destination,block" validate:"required"` }
type AuditAttributes ¶
type AuditAttributes struct {
// contains filtered or unexported fields
}
func (AuditAttributes) FindingsDestination ¶
func (a AuditAttributes) FindingsDestination() terra.ListValue[FindingsDestinationAttributes]
func (AuditAttributes) InternalRef ¶
func (a AuditAttributes) InternalRef() (terra.Reference, error)
func (AuditAttributes) InternalTokens ¶
func (a AuditAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AuditAttributes) InternalWithRef ¶
func (a AuditAttributes) InternalWithRef(ref terra.Reference) AuditAttributes
type AuditState ¶
type AuditState struct {
FindingsDestination []FindingsDestinationState `json:"findings_destination"`
}
type CloudwatchLogs ¶
type CloudwatchLogs struct { // LogGroup: string, required LogGroup terra.StringValue `hcl:"log_group,attr" validate:"required"` }
type CloudwatchLogsAttributes ¶
type CloudwatchLogsAttributes struct {
// contains filtered or unexported fields
}
func (CloudwatchLogsAttributes) InternalRef ¶
func (cl CloudwatchLogsAttributes) InternalRef() (terra.Reference, error)
func (CloudwatchLogsAttributes) InternalTokens ¶
func (cl CloudwatchLogsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (CloudwatchLogsAttributes) InternalWithRef ¶
func (cl CloudwatchLogsAttributes) InternalWithRef(ref terra.Reference) CloudwatchLogsAttributes
func (CloudwatchLogsAttributes) LogGroup ¶
func (cl CloudwatchLogsAttributes) LogGroup() terra.StringValue
type CloudwatchLogsState ¶
type CloudwatchLogsState struct {
LogGroup string `json:"log_group"`
}
type Deidentify ¶
type Deidentify struct { // MaskConfig: required MaskConfig *MaskConfig `hcl:"mask_config,block" validate:"required"` }
type DeidentifyAttributes ¶
type DeidentifyAttributes struct {
// contains filtered or unexported fields
}
func (DeidentifyAttributes) InternalRef ¶
func (d DeidentifyAttributes) InternalRef() (terra.Reference, error)
func (DeidentifyAttributes) InternalTokens ¶
func (d DeidentifyAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DeidentifyAttributes) InternalWithRef ¶
func (d DeidentifyAttributes) InternalWithRef(ref terra.Reference) DeidentifyAttributes
func (DeidentifyAttributes) MaskConfig ¶
func (d DeidentifyAttributes) MaskConfig() terra.ListValue[MaskConfigAttributes]
type DeidentifyState ¶
type DeidentifyState struct {
MaskConfig []MaskConfigState `json:"mask_config"`
}
type FindingsDestination ¶
type FindingsDestination struct { // CloudwatchLogs: optional CloudwatchLogs *CloudwatchLogs `hcl:"cloudwatch_logs,block"` // Firehose: optional Firehose *Firehose `hcl:"firehose,block"` // S3: optional S3 *S3 `hcl:"s3,block"` }
type FindingsDestinationAttributes ¶
type FindingsDestinationAttributes struct {
// contains filtered or unexported fields
}
func (FindingsDestinationAttributes) CloudwatchLogs ¶
func (fd FindingsDestinationAttributes) CloudwatchLogs() terra.ListValue[CloudwatchLogsAttributes]
func (FindingsDestinationAttributes) Firehose ¶
func (fd FindingsDestinationAttributes) Firehose() terra.ListValue[FirehoseAttributes]
func (FindingsDestinationAttributes) InternalRef ¶
func (fd FindingsDestinationAttributes) InternalRef() (terra.Reference, error)
func (FindingsDestinationAttributes) InternalTokens ¶
func (fd FindingsDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FindingsDestinationAttributes) InternalWithRef ¶
func (fd FindingsDestinationAttributes) InternalWithRef(ref terra.Reference) FindingsDestinationAttributes
func (FindingsDestinationAttributes) S3 ¶
func (fd FindingsDestinationAttributes) S3() terra.ListValue[S3Attributes]
type FindingsDestinationState ¶
type FindingsDestinationState struct { CloudwatchLogs []CloudwatchLogsState `json:"cloudwatch_logs"` Firehose []FirehoseState `json:"firehose"` S3 []S3State `json:"s3"` }
type Firehose ¶
type Firehose struct { // DeliveryStream: string, required DeliveryStream terra.StringValue `hcl:"delivery_stream,attr" validate:"required"` }
type FirehoseAttributes ¶
type FirehoseAttributes struct {
// contains filtered or unexported fields
}
func (FirehoseAttributes) DeliveryStream ¶
func (f FirehoseAttributes) DeliveryStream() terra.StringValue
func (FirehoseAttributes) InternalRef ¶
func (f FirehoseAttributes) InternalRef() (terra.Reference, error)
func (FirehoseAttributes) InternalTokens ¶
func (f FirehoseAttributes) InternalTokens() (hclwrite.Tokens, error)
func (FirehoseAttributes) InternalWithRef ¶
func (f FirehoseAttributes) InternalWithRef(ref terra.Reference) FirehoseAttributes
type FirehoseState ¶
type FirehoseState struct {
DeliveryStream string `json:"delivery_stream"`
}
type MaskConfig ¶
type MaskConfig struct{}
type MaskConfigAttributes ¶
type MaskConfigAttributes struct {
// contains filtered or unexported fields
}
func (MaskConfigAttributes) InternalRef ¶
func (mc MaskConfigAttributes) InternalRef() (terra.Reference, error)
func (MaskConfigAttributes) InternalTokens ¶
func (mc MaskConfigAttributes) InternalTokens() (hclwrite.Tokens, error)
func (MaskConfigAttributes) InternalWithRef ¶
func (mc MaskConfigAttributes) InternalWithRef(ref terra.Reference) MaskConfigAttributes
type MaskConfigState ¶
type MaskConfigState struct{}
type Operation ¶
type Operation struct { // Audit: optional Audit *Audit `hcl:"audit,block"` // Deidentify: optional Deidentify *Deidentify `hcl:"deidentify,block"` }
type OperationAttributes ¶
type OperationAttributes struct {
// contains filtered or unexported fields
}
func (OperationAttributes) Audit ¶
func (o OperationAttributes) Audit() terra.ListValue[AuditAttributes]
func (OperationAttributes) Deidentify ¶
func (o OperationAttributes) Deidentify() terra.ListValue[DeidentifyAttributes]
func (OperationAttributes) InternalRef ¶
func (o OperationAttributes) InternalRef() (terra.Reference, error)
func (OperationAttributes) InternalTokens ¶
func (o OperationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (OperationAttributes) InternalWithRef ¶
func (o OperationAttributes) InternalWithRef(ref terra.Reference) OperationAttributes
type OperationState ¶
type OperationState struct { Audit []AuditState `json:"audit"` Deidentify []DeidentifyState `json:"deidentify"` }
type S3 ¶
type S3 struct { // Bucket: string, required Bucket terra.StringValue `hcl:"bucket,attr" validate:"required"` }
type S3Attributes ¶
type S3Attributes struct {
// contains filtered or unexported fields
}
func (S3Attributes) Bucket ¶
func (s S3Attributes) Bucket() terra.StringValue
func (S3Attributes) InternalRef ¶
func (s S3Attributes) InternalRef() (terra.Reference, error)
func (S3Attributes) InternalTokens ¶
func (s S3Attributes) InternalTokens() (hclwrite.Tokens, error)
func (S3Attributes) InternalWithRef ¶
func (s S3Attributes) InternalWithRef(ref terra.Reference) S3Attributes
type Statement ¶
type Statement struct { // DataIdentifiers: set of string, required DataIdentifiers terra.SetValue[terra.StringValue] `hcl:"data_identifiers,attr" validate:"required"` // Sid: string, optional Sid terra.StringValue `hcl:"sid,attr"` // Operation: required Operation *Operation `hcl:"operation,block" validate:"required"` }
type StatementAttributes ¶
type StatementAttributes struct {
// contains filtered or unexported fields
}
func (StatementAttributes) DataIdentifiers ¶
func (s StatementAttributes) DataIdentifiers() terra.SetValue[terra.StringValue]
func (StatementAttributes) InternalRef ¶
func (s StatementAttributes) InternalRef() (terra.Reference, error)
func (StatementAttributes) InternalTokens ¶
func (s StatementAttributes) InternalTokens() (hclwrite.Tokens, error)
func (StatementAttributes) InternalWithRef ¶
func (s StatementAttributes) InternalWithRef(ref terra.Reference) StatementAttributes
func (StatementAttributes) Operation ¶
func (s StatementAttributes) Operation() terra.ListValue[OperationAttributes]
func (StatementAttributes) Sid ¶
func (s StatementAttributes) Sid() terra.StringValue
type StatementState ¶
type StatementState struct { DataIdentifiers []string `json:"data_identifiers"` Sid string `json:"sid"` Operation []OperationState `json:"operation"` }
Click to show internal directories.
Click to hide internal directories.