aws_cloudtrail_event_data_store

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdvancedEventSelector

type AdvancedEventSelector struct {
	// Name: string, optional
	Name terra.StringValue `hcl:"name,attr"`
	// AdvancedEventSelectorFieldSelector: min=0
	FieldSelector []AdvancedEventSelectorFieldSelector `hcl:"field_selector,block" validate:"min=0"`
}

type AdvancedEventSelectorAttributes

type AdvancedEventSelectorAttributes struct {
	// contains filtered or unexported fields
}

func (AdvancedEventSelectorAttributes) FieldSelector

func (AdvancedEventSelectorAttributes) InternalRef

func (AdvancedEventSelectorAttributes) InternalTokens

func (aes AdvancedEventSelectorAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AdvancedEventSelectorAttributes) InternalWithRef

func (AdvancedEventSelectorAttributes) Name

type AdvancedEventSelectorFieldSelector

type AdvancedEventSelectorFieldSelector struct {
	// EndsWith: list of string, optional
	EndsWith terra.ListValue[terra.StringValue] `hcl:"ends_with,attr"`
	// Equals: list of string, optional
	Equals terra.ListValue[terra.StringValue] `hcl:"equals,attr"`
	// Field: string, optional
	Field terra.StringValue `hcl:"field,attr"`
	// NotEndsWith: list of string, optional
	NotEndsWith terra.ListValue[terra.StringValue] `hcl:"not_ends_with,attr"`
	// NotEquals: list of string, optional
	NotEquals terra.ListValue[terra.StringValue] `hcl:"not_equals,attr"`
	// NotStartsWith: list of string, optional
	NotStartsWith terra.ListValue[terra.StringValue] `hcl:"not_starts_with,attr"`
	// StartsWith: list of string, optional
	StartsWith terra.ListValue[terra.StringValue] `hcl:"starts_with,attr"`
}

type AdvancedEventSelectorFieldSelectorAttributes

type AdvancedEventSelectorFieldSelectorAttributes struct {
	// contains filtered or unexported fields
}

func (AdvancedEventSelectorFieldSelectorAttributes) EndsWith

func (AdvancedEventSelectorFieldSelectorAttributes) Equals

func (AdvancedEventSelectorFieldSelectorAttributes) Field

func (AdvancedEventSelectorFieldSelectorAttributes) InternalRef

func (AdvancedEventSelectorFieldSelectorAttributes) InternalTokens

func (AdvancedEventSelectorFieldSelectorAttributes) InternalWithRef

func (AdvancedEventSelectorFieldSelectorAttributes) NotEndsWith

func (AdvancedEventSelectorFieldSelectorAttributes) NotEquals

func (AdvancedEventSelectorFieldSelectorAttributes) NotStartsWith

func (AdvancedEventSelectorFieldSelectorAttributes) StartsWith

type AdvancedEventSelectorFieldSelectorState

type AdvancedEventSelectorFieldSelectorState struct {
	EndsWith      []string `json:"ends_with"`
	Equals        []string `json:"equals"`
	Field         string   `json:"field"`
	NotEndsWith   []string `json:"not_ends_with"`
	NotEquals     []string `json:"not_equals"`
	NotStartsWith []string `json:"not_starts_with"`
	StartsWith    []string `json:"starts_with"`
}

type AdvancedEventSelectorState

type AdvancedEventSelectorState struct {
	Name          string                                    `json:"name"`
	FieldSelector []AdvancedEventSelectorFieldSelectorState `json:"field_selector"`
}

type Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// KmsKeyId: string, optional
	KmsKeyId terra.StringValue `hcl:"kms_key_id,attr"`
	// MultiRegionEnabled: bool, optional
	MultiRegionEnabled terra.BoolValue `hcl:"multi_region_enabled,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// OrganizationEnabled: bool, optional
	OrganizationEnabled terra.BoolValue `hcl:"organization_enabled,attr"`
	// RetentionPeriod: number, optional
	RetentionPeriod terra.NumberValue `hcl:"retention_period,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// TerminationProtectionEnabled: bool, optional
	TerminationProtectionEnabled terra.BoolValue `hcl:"termination_protection_enabled,attr"`
	// AdvancedEventSelector: min=0
	AdvancedEventSelector []AdvancedEventSelector `hcl:"advanced_event_selector,block" validate:"min=0"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_cloudtrail_event_data_store.

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource aws_cloudtrail_event_data_store.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aceds *Resource) Attributes() awsCloudtrailEventDataStoreAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (aceds *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (aceds *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (aceds *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (aceds *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (aceds *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aceds *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aceds *Resource) State() (*awsCloudtrailEventDataStoreState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (aceds *Resource) StateMust() *awsCloudtrailEventDataStoreState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (aceds *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Update string `json:"update"`
}

Jump to

Keyboard shortcuts

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