aws_glue_security_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 Args

type Args struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// EncryptionConfiguration: required
	EncryptionConfiguration *EncryptionConfiguration `hcl:"encryption_configuration,block" validate:"required"`
}

Args contains the configurations for aws_glue_security_configuration.

type EncryptionConfiguration

type EncryptionConfiguration struct {
	// EncryptionConfigurationCloudwatchEncryption: required
	CloudwatchEncryption *EncryptionConfigurationCloudwatchEncryption `hcl:"cloudwatch_encryption,block" validate:"required"`
	// EncryptionConfigurationJobBookmarksEncryption: required
	JobBookmarksEncryption *EncryptionConfigurationJobBookmarksEncryption `hcl:"job_bookmarks_encryption,block" validate:"required"`
	// EncryptionConfigurationS3Encryption: required
	S3Encryption *EncryptionConfigurationS3Encryption `hcl:"s3_encryption,block" validate:"required"`
}

type EncryptionConfigurationAttributes

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

func (EncryptionConfigurationAttributes) CloudwatchEncryption

func (EncryptionConfigurationAttributes) InternalRef

func (EncryptionConfigurationAttributes) InternalTokens

func (ec EncryptionConfigurationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EncryptionConfigurationAttributes) InternalWithRef

func (EncryptionConfigurationAttributes) JobBookmarksEncryption

func (EncryptionConfigurationAttributes) S3Encryption

type EncryptionConfigurationCloudwatchEncryption

type EncryptionConfigurationCloudwatchEncryption struct {
	// CloudwatchEncryptionMode: string, optional
	CloudwatchEncryptionMode terra.StringValue `hcl:"cloudwatch_encryption_mode,attr"`
	// KmsKeyArn: string, optional
	KmsKeyArn terra.StringValue `hcl:"kms_key_arn,attr"`
}

type EncryptionConfigurationCloudwatchEncryptionAttributes

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

func (EncryptionConfigurationCloudwatchEncryptionAttributes) CloudwatchEncryptionMode

func (EncryptionConfigurationCloudwatchEncryptionAttributes) InternalRef

func (EncryptionConfigurationCloudwatchEncryptionAttributes) InternalTokens

func (EncryptionConfigurationCloudwatchEncryptionAttributes) InternalWithRef

func (EncryptionConfigurationCloudwatchEncryptionAttributes) KmsKeyArn

type EncryptionConfigurationCloudwatchEncryptionState

type EncryptionConfigurationCloudwatchEncryptionState struct {
	CloudwatchEncryptionMode string `json:"cloudwatch_encryption_mode"`
	KmsKeyArn                string `json:"kms_key_arn"`
}

type EncryptionConfigurationJobBookmarksEncryption

type EncryptionConfigurationJobBookmarksEncryption struct {
	// JobBookmarksEncryptionMode: string, optional
	JobBookmarksEncryptionMode terra.StringValue `hcl:"job_bookmarks_encryption_mode,attr"`
	// KmsKeyArn: string, optional
	KmsKeyArn terra.StringValue `hcl:"kms_key_arn,attr"`
}

type EncryptionConfigurationJobBookmarksEncryptionAttributes

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

func (EncryptionConfigurationJobBookmarksEncryptionAttributes) InternalRef

func (EncryptionConfigurationJobBookmarksEncryptionAttributes) InternalTokens

func (EncryptionConfigurationJobBookmarksEncryptionAttributes) InternalWithRef

func (EncryptionConfigurationJobBookmarksEncryptionAttributes) JobBookmarksEncryptionMode

func (EncryptionConfigurationJobBookmarksEncryptionAttributes) KmsKeyArn

type EncryptionConfigurationJobBookmarksEncryptionState

type EncryptionConfigurationJobBookmarksEncryptionState struct {
	JobBookmarksEncryptionMode string `json:"job_bookmarks_encryption_mode"`
	KmsKeyArn                  string `json:"kms_key_arn"`
}

type EncryptionConfigurationS3Encryption

type EncryptionConfigurationS3Encryption struct {
	// KmsKeyArn: string, optional
	KmsKeyArn terra.StringValue `hcl:"kms_key_arn,attr"`
	// S3EncryptionMode: string, optional
	S3EncryptionMode terra.StringValue `hcl:"s3_encryption_mode,attr"`
}

type EncryptionConfigurationS3EncryptionAttributes

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

func (EncryptionConfigurationS3EncryptionAttributes) InternalRef

func (EncryptionConfigurationS3EncryptionAttributes) InternalTokens

func (EncryptionConfigurationS3EncryptionAttributes) InternalWithRef

func (EncryptionConfigurationS3EncryptionAttributes) KmsKeyArn

func (EncryptionConfigurationS3EncryptionAttributes) S3EncryptionMode

type EncryptionConfigurationS3EncryptionState

type EncryptionConfigurationS3EncryptionState struct {
	KmsKeyArn        string `json:"kms_key_arn"`
	S3EncryptionMode string `json:"s3_encryption_mode"`
}

type EncryptionConfigurationState

type EncryptionConfigurationState struct {
	CloudwatchEncryption   []EncryptionConfigurationCloudwatchEncryptionState   `json:"cloudwatch_encryption"`
	JobBookmarksEncryption []EncryptionConfigurationJobBookmarksEncryptionState `json:"job_bookmarks_encryption"`
	S3Encryption           []EncryptionConfigurationS3EncryptionState           `json:"s3_encryption"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (agsc *Resource) Attributes() awsGlueSecurityConfigurationAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (agsc *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (agsc *Resource) State() (*awsGlueSecurityConfigurationState, bool)

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

func (*Resource) StateMust

func (agsc *Resource) StateMust() *awsGlueSecurityConfigurationState

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

func (*Resource) Type

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