aws_securitylake_subscriber

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 {
	// AccessType: string, optional
	AccessType terra.StringValue `hcl:"access_type,attr"`
	// SubscriberDescription: string, optional
	SubscriberDescription terra.StringValue `hcl:"subscriber_description,attr"`
	// SubscriberName: string, optional
	SubscriberName terra.StringValue `hcl:"subscriber_name,attr"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// Source: min=0
	Source []Source `hcl:"source,block" validate:"min=0"`
	// SubscriberIdentity: min=0
	SubscriberIdentity []SubscriberIdentity `hcl:"subscriber_identity,block" validate:"min=0"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
}

Args contains the configurations for aws_securitylake_subscriber.

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (ass *Resource) Attributes() awsSecuritylakeSubscriberAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (ass *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (ass *Resource) State() (*awsSecuritylakeSubscriberState, bool)

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

func (*Resource) StateMust

func (ass *Resource) StateMust() *awsSecuritylakeSubscriberState

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

func (*Resource) Type

func (ass *Resource) Type() string

Type returns the Terraform object type for Resource.

type Source

type Source struct {
	// SourceAwsLogSourceResource: min=0
	AwsLogSourceResource []SourceAwsLogSourceResource `hcl:"aws_log_source_resource,block" validate:"min=0"`
	// SourceCustomLogSourceResource: min=0
	CustomLogSourceResource []SourceCustomLogSourceResource `hcl:"custom_log_source_resource,block" validate:"min=0"`
}

type SourceAttributes

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

func (SourceAttributes) AwsLogSourceResource

func (SourceAttributes) CustomLogSourceResource

func (SourceAttributes) InternalRef

func (s SourceAttributes) InternalRef() (terra.Reference, error)

func (SourceAttributes) InternalTokens

func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceAttributes) InternalWithRef

func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes

type SourceAwsLogSourceResource

type SourceAwsLogSourceResource struct {
	// SourceName: string, optional
	SourceName terra.StringValue `hcl:"source_name,attr"`
	// SourceVersion: string, optional
	SourceVersion terra.StringValue `hcl:"source_version,attr"`
}

type SourceAwsLogSourceResourceAttributes

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

func (SourceAwsLogSourceResourceAttributes) InternalRef

func (SourceAwsLogSourceResourceAttributes) InternalTokens

func (alsr SourceAwsLogSourceResourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceAwsLogSourceResourceAttributes) InternalWithRef

func (SourceAwsLogSourceResourceAttributes) SourceName

func (SourceAwsLogSourceResourceAttributes) SourceVersion

type SourceAwsLogSourceResourceState

type SourceAwsLogSourceResourceState struct {
	SourceName    string `json:"source_name"`
	SourceVersion string `json:"source_version"`
}

type SourceCustomLogSourceResource

type SourceCustomLogSourceResource struct {
	// SourceName: string, optional
	SourceName terra.StringValue `hcl:"source_name,attr"`
	// SourceVersion: string, optional
	SourceVersion terra.StringValue `hcl:"source_version,attr"`
}

type SourceCustomLogSourceResourceAttributes

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

func (SourceCustomLogSourceResourceAttributes) Attributes

func (SourceCustomLogSourceResourceAttributes) InternalRef

func (SourceCustomLogSourceResourceAttributes) InternalTokens

func (SourceCustomLogSourceResourceAttributes) InternalWithRef

func (SourceCustomLogSourceResourceAttributes) Provider

func (SourceCustomLogSourceResourceAttributes) SourceName

func (SourceCustomLogSourceResourceAttributes) SourceVersion

type SourceCustomLogSourceResourceAttributesAttributes

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

func (SourceCustomLogSourceResourceAttributesAttributes) CrawlerArn

func (SourceCustomLogSourceResourceAttributesAttributes) DatabaseArn

func (SourceCustomLogSourceResourceAttributesAttributes) InternalRef

func (SourceCustomLogSourceResourceAttributesAttributes) InternalTokens

func (SourceCustomLogSourceResourceAttributesAttributes) InternalWithRef

func (SourceCustomLogSourceResourceAttributesAttributes) TableArn

type SourceCustomLogSourceResourceAttributesState

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

type SourceCustomLogSourceResourceProviderAttributes

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

func (SourceCustomLogSourceResourceProviderAttributes) InternalRef

func (SourceCustomLogSourceResourceProviderAttributes) InternalTokens

func (SourceCustomLogSourceResourceProviderAttributes) InternalWithRef

func (SourceCustomLogSourceResourceProviderAttributes) Location

func (SourceCustomLogSourceResourceProviderAttributes) RoleArn

type SourceCustomLogSourceResourceProviderState

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

type SourceCustomLogSourceResourceState

type SourceCustomLogSourceResourceState struct {
	SourceName    string                                         `json:"source_name"`
	SourceVersion string                                         `json:"source_version"`
	Attributes    []SourceCustomLogSourceResourceAttributesState `json:"attributes"`
	Provider      []SourceCustomLogSourceResourceProviderState   `json:"provider"`
}

type SourceState

type SourceState struct {
	AwsLogSourceResource    []SourceAwsLogSourceResourceState    `json:"aws_log_source_resource"`
	CustomLogSourceResource []SourceCustomLogSourceResourceState `json:"custom_log_source_resource"`
}

type SubscriberIdentity

type SubscriberIdentity 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 SubscriberIdentityAttributes

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

func (SubscriberIdentityAttributes) ExternalId

func (SubscriberIdentityAttributes) InternalRef

func (si SubscriberIdentityAttributes) InternalRef() (terra.Reference, error)

func (SubscriberIdentityAttributes) InternalTokens

func (si SubscriberIdentityAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SubscriberIdentityAttributes) InternalWithRef

func (SubscriberIdentityAttributes) Principal

type SubscriberIdentityState

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

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