aws_verifiedaccess_instance_logging_configuration

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 AccessLogs

type AccessLogs struct {
	// IncludeTrustContext: bool, optional
	IncludeTrustContext terra.BoolValue `hcl:"include_trust_context,attr"`
	// LogVersion: string, optional
	LogVersion terra.StringValue `hcl:"log_version,attr"`
	// AccessLogsCloudwatchLogs: optional
	CloudwatchLogs *AccessLogsCloudwatchLogs `hcl:"cloudwatch_logs,block"`
	// AccessLogsKinesisDataFirehose: optional
	KinesisDataFirehose *AccessLogsKinesisDataFirehose `hcl:"kinesis_data_firehose,block"`
	// AccessLogsS3: optional
	S3 *AccessLogsS3 `hcl:"s3,block"`
}

type AccessLogsAttributes

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

func (AccessLogsAttributes) CloudwatchLogs

func (AccessLogsAttributes) IncludeTrustContext

func (al AccessLogsAttributes) IncludeTrustContext() terra.BoolValue

func (AccessLogsAttributes) InternalRef

func (al AccessLogsAttributes) InternalRef() (terra.Reference, error)

func (AccessLogsAttributes) InternalTokens

func (al AccessLogsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AccessLogsAttributes) InternalWithRef

func (al AccessLogsAttributes) InternalWithRef(ref terra.Reference) AccessLogsAttributes

func (AccessLogsAttributes) KinesisDataFirehose

func (AccessLogsAttributes) LogVersion

func (al AccessLogsAttributes) LogVersion() terra.StringValue

func (AccessLogsAttributes) S3

type AccessLogsCloudwatchLogs

type AccessLogsCloudwatchLogs struct {
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// LogGroup: string, optional
	LogGroup terra.StringValue `hcl:"log_group,attr"`
}

type AccessLogsCloudwatchLogsAttributes

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

func (AccessLogsCloudwatchLogsAttributes) Enabled

func (AccessLogsCloudwatchLogsAttributes) InternalRef

func (AccessLogsCloudwatchLogsAttributes) InternalTokens

func (AccessLogsCloudwatchLogsAttributes) InternalWithRef

func (AccessLogsCloudwatchLogsAttributes) LogGroup

type AccessLogsCloudwatchLogsState

type AccessLogsCloudwatchLogsState struct {
	Enabled  bool   `json:"enabled"`
	LogGroup string `json:"log_group"`
}

type AccessLogsKinesisDataFirehose

type AccessLogsKinesisDataFirehose struct {
	// DeliveryStream: string, optional
	DeliveryStream terra.StringValue `hcl:"delivery_stream,attr"`
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
}

type AccessLogsKinesisDataFirehoseAttributes

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

func (AccessLogsKinesisDataFirehoseAttributes) DeliveryStream

func (AccessLogsKinesisDataFirehoseAttributes) Enabled

func (AccessLogsKinesisDataFirehoseAttributes) InternalRef

func (AccessLogsKinesisDataFirehoseAttributes) InternalTokens

func (AccessLogsKinesisDataFirehoseAttributes) InternalWithRef

type AccessLogsKinesisDataFirehoseState

type AccessLogsKinesisDataFirehoseState struct {
	DeliveryStream string `json:"delivery_stream"`
	Enabled        bool   `json:"enabled"`
}

type AccessLogsS3

type AccessLogsS3 struct {
	// BucketName: string, optional
	BucketName terra.StringValue `hcl:"bucket_name,attr"`
	// BucketOwner: string, optional
	BucketOwner terra.StringValue `hcl:"bucket_owner,attr"`
	// Enabled: bool, required
	Enabled terra.BoolValue `hcl:"enabled,attr" validate:"required"`
	// Prefix: string, optional
	Prefix terra.StringValue `hcl:"prefix,attr"`
}

type AccessLogsS3Attributes

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

func (AccessLogsS3Attributes) BucketName

func (s AccessLogsS3Attributes) BucketName() terra.StringValue

func (AccessLogsS3Attributes) BucketOwner

func (s AccessLogsS3Attributes) BucketOwner() terra.StringValue

func (AccessLogsS3Attributes) Enabled

func (AccessLogsS3Attributes) InternalRef

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

func (AccessLogsS3Attributes) InternalTokens

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

func (AccessLogsS3Attributes) InternalWithRef

func (AccessLogsS3Attributes) Prefix

type AccessLogsS3State

type AccessLogsS3State struct {
	BucketName  string `json:"bucket_name"`
	BucketOwner string `json:"bucket_owner"`
	Enabled     bool   `json:"enabled"`
	Prefix      string `json:"prefix"`
}

type AccessLogsState

type AccessLogsState struct {
	IncludeTrustContext bool                                 `json:"include_trust_context"`
	LogVersion          string                               `json:"log_version"`
	CloudwatchLogs      []AccessLogsCloudwatchLogsState      `json:"cloudwatch_logs"`
	KinesisDataFirehose []AccessLogsKinesisDataFirehoseState `json:"kinesis_data_firehose"`
	S3                  []AccessLogsS3State                  `json:"s3"`
}

type Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// VerifiedaccessInstanceId: string, required
	VerifiedaccessInstanceId terra.StringValue `hcl:"verifiedaccess_instance_id,attr" validate:"required"`
	// AccessLogs: required
	AccessLogs *AccessLogs `hcl:"access_logs,block" validate:"required"`
}

Args contains the configurations for aws_verifiedaccess_instance_logging_configuration.

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (avilc *Resource) Attributes() awsVerifiedaccessInstanceLoggingConfigurationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (avilc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (avilc *Resource) State() (*awsVerifiedaccessInstanceLoggingConfigurationState, bool)

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

func (*Resource) StateMust

func (avilc *Resource) StateMust() *awsVerifiedaccessInstanceLoggingConfigurationState

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

func (*Resource) Type

func (avilc *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