datacloudwatchlogdataprotectionpolicydocument

package
v0.0.0-...-c2cc54e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 (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 (CloudwatchLogsAttributes) LogGroup

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 (DeidentifyAttributes) MaskConfig

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 (FindingsDestinationAttributes) Firehose

func (FindingsDestinationAttributes) InternalRef

func (fd FindingsDestinationAttributes) InternalRef() (terra.Reference, error)

func (FindingsDestinationAttributes) InternalTokens

func (fd FindingsDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (FindingsDestinationAttributes) InternalWithRef

func (FindingsDestinationAttributes) S3

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 (OperationAttributes) Deidentify

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 S3State

type S3State struct {
	Bucket string `json:"bucket"`
}

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 (StatementAttributes) Sid

type StatementState

type StatementState struct {
	DataIdentifiers []string         `json:"data_identifiers"`
	Sid             string           `json:"sid"`
	Operation       []OperationState `json:"operation"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL