aws_securitylake_custom_log_source

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 Args

type Args struct {
	// EventClasses: set of string, optional
	EventClasses terra.SetValue[terra.StringValue] `hcl:"event_classes,attr"`
	// SourceName: string, required
	SourceName terra.StringValue `hcl:"source_name,attr" validate:"required"`
	// SourceVersion: string, optional
	SourceVersion terra.StringValue `hcl:"source_version,attr"`
	// Configuration: min=0
	Configuration []Configuration `hcl:"configuration,block" validate:"min=0"`
}

Args contains the configurations for aws_securitylake_custom_log_source.

type AttributesAttributes

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

func (AttributesAttributes) CrawlerArn

func (a AttributesAttributes) CrawlerArn() terra.StringValue

func (AttributesAttributes) DatabaseArn

func (a AttributesAttributes) DatabaseArn() terra.StringValue

func (AttributesAttributes) InternalRef

func (a AttributesAttributes) InternalRef() (terra.Reference, error)

func (AttributesAttributes) InternalTokens

func (a AttributesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AttributesAttributes) InternalWithRef

func (AttributesAttributes) TableArn

func (a AttributesAttributes) TableArn() terra.StringValue

type AttributesState

type AttributesState struct {
	CrawlerArn  string `json:"crawler_arn"`
	DatabaseArn string `json:"database_arn"`
	TableArn    string `json:"table_arn"`
}

type Configuration

type Configuration struct {
	// ConfigurationCrawlerConfiguration: min=0
	CrawlerConfiguration []ConfigurationCrawlerConfiguration `hcl:"crawler_configuration,block" validate:"min=0"`
	// ConfigurationProviderIdentity: min=0
	ProviderIdentity []ConfigurationProviderIdentity `hcl:"provider_identity,block" validate:"min=0"`
}

type ConfigurationAttributes

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

func (ConfigurationAttributes) CrawlerConfiguration

func (ConfigurationAttributes) InternalRef

func (c ConfigurationAttributes) InternalRef() (terra.Reference, error)

func (ConfigurationAttributes) InternalTokens

func (c ConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConfigurationAttributes) InternalWithRef

func (ConfigurationAttributes) ProviderIdentity

type ConfigurationCrawlerConfiguration

type ConfigurationCrawlerConfiguration struct {
	// RoleArn: string, required
	RoleArn terra.StringValue `hcl:"role_arn,attr" validate:"required"`
}

type ConfigurationCrawlerConfigurationAttributes

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

func (ConfigurationCrawlerConfigurationAttributes) InternalRef

func (ConfigurationCrawlerConfigurationAttributes) InternalTokens

func (ConfigurationCrawlerConfigurationAttributes) InternalWithRef

func (ConfigurationCrawlerConfigurationAttributes) RoleArn

type ConfigurationCrawlerConfigurationState

type ConfigurationCrawlerConfigurationState struct {
	RoleArn string `json:"role_arn"`
}

type ConfigurationProviderIdentity

type ConfigurationProviderIdentity struct {
	// ExternalId: string, required
	ExternalId terra.StringValue `hcl:"external_id,attr" validate:"required"`
	// Principal: string, required
	Principal terra.StringValue `hcl:"principal,attr" validate:"required"`
}

type ConfigurationProviderIdentityAttributes

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

func (ConfigurationProviderIdentityAttributes) ExternalId

func (ConfigurationProviderIdentityAttributes) InternalRef

func (ConfigurationProviderIdentityAttributes) InternalTokens

func (ConfigurationProviderIdentityAttributes) InternalWithRef

func (ConfigurationProviderIdentityAttributes) Principal

type ConfigurationProviderIdentityState

type ConfigurationProviderIdentityState struct {
	ExternalId string `json:"external_id"`
	Principal  string `json:"principal"`
}

type ConfigurationState

type ConfigurationState struct {
	CrawlerConfiguration []ConfigurationCrawlerConfigurationState `json:"crawler_configuration"`
	ProviderIdentity     []ConfigurationProviderIdentityState     `json:"provider_identity"`
}

type ProviderDetailsAttributes

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

func (ProviderDetailsAttributes) InternalRef

func (pd ProviderDetailsAttributes) InternalRef() (terra.Reference, error)

func (ProviderDetailsAttributes) InternalTokens

func (pd ProviderDetailsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ProviderDetailsAttributes) InternalWithRef

func (ProviderDetailsAttributes) Location

func (ProviderDetailsAttributes) RoleArn

type ProviderDetailsState

type ProviderDetailsState struct {
	Location string `json:"location"`
	RoleArn  string `json:"role_arn"`
}

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_securitylake_custom_log_source.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (ascls *Resource) Attributes() awsSecuritylakeCustomLogSourceAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (ascls *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (ascls *Resource) State() (*awsSecuritylakeCustomLogSourceState, bool)

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

func (*Resource) StateMust

func (ascls *Resource) StateMust() *awsSecuritylakeCustomLogSourceState

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

func (*Resource) Type

func (ascls *Resource) Type() string

Type returns the Terraform object type for Resource.

Jump to

Keyboard shortcuts

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