aws_lakeformation_data_lake_settings

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 {
	// Admins: set of string, optional
	Admins terra.SetValue[terra.StringValue] `hcl:"admins,attr"`
	// AllowExternalDataFiltering: bool, optional
	AllowExternalDataFiltering terra.BoolValue `hcl:"allow_external_data_filtering,attr"`
	// AuthorizedSessionTagValueList: list of string, optional
	AuthorizedSessionTagValueList terra.ListValue[terra.StringValue] `hcl:"authorized_session_tag_value_list,attr"`
	// CatalogId: string, optional
	CatalogId terra.StringValue `hcl:"catalog_id,attr"`
	// ExternalDataFilteringAllowList: set of string, optional
	ExternalDataFilteringAllowList terra.SetValue[terra.StringValue] `hcl:"external_data_filtering_allow_list,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// ReadOnlyAdmins: set of string, optional
	ReadOnlyAdmins terra.SetValue[terra.StringValue] `hcl:"read_only_admins,attr"`
	// TrustedResourceOwners: list of string, optional
	TrustedResourceOwners terra.ListValue[terra.StringValue] `hcl:"trusted_resource_owners,attr"`
	// CreateDatabaseDefaultPermissions: min=0,max=3
	CreateDatabaseDefaultPermissions []CreateDatabaseDefaultPermissions `hcl:"create_database_default_permissions,block" validate:"min=0,max=3"`
	// CreateTableDefaultPermissions: min=0,max=3
	CreateTableDefaultPermissions []CreateTableDefaultPermissions `hcl:"create_table_default_permissions,block" validate:"min=0,max=3"`
}

Args contains the configurations for aws_lakeformation_data_lake_settings.

type CreateDatabaseDefaultPermissions

type CreateDatabaseDefaultPermissions struct {
	// Permissions: set of string, optional
	Permissions terra.SetValue[terra.StringValue] `hcl:"permissions,attr"`
	// Principal: string, optional
	Principal terra.StringValue `hcl:"principal,attr"`
}

type CreateDatabaseDefaultPermissionsAttributes

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

func (CreateDatabaseDefaultPermissionsAttributes) InternalRef

func (CreateDatabaseDefaultPermissionsAttributes) InternalTokens

func (CreateDatabaseDefaultPermissionsAttributes) InternalWithRef

func (CreateDatabaseDefaultPermissionsAttributes) Permissions

func (CreateDatabaseDefaultPermissionsAttributes) Principal

type CreateDatabaseDefaultPermissionsState

type CreateDatabaseDefaultPermissionsState struct {
	Permissions []string `json:"permissions"`
	Principal   string   `json:"principal"`
}

type CreateTableDefaultPermissions

type CreateTableDefaultPermissions struct {
	// Permissions: set of string, optional
	Permissions terra.SetValue[terra.StringValue] `hcl:"permissions,attr"`
	// Principal: string, optional
	Principal terra.StringValue `hcl:"principal,attr"`
}

type CreateTableDefaultPermissionsAttributes

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

func (CreateTableDefaultPermissionsAttributes) InternalRef

func (CreateTableDefaultPermissionsAttributes) InternalTokens

func (CreateTableDefaultPermissionsAttributes) InternalWithRef

func (CreateTableDefaultPermissionsAttributes) Permissions

func (CreateTableDefaultPermissionsAttributes) Principal

type CreateTableDefaultPermissionsState

type CreateTableDefaultPermissionsState struct {
	Permissions []string `json:"permissions"`
	Principal   string   `json:"principal"`
}

type DataArgs

type DataArgs struct {
	// CatalogId: string, optional
	CatalogId terra.StringValue `hcl:"catalog_id,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
}

DataArgs contains the configurations for aws_lakeformation_data_lake_settings.

type DataCreateDatabaseDefaultPermissionsAttributes

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

func (DataCreateDatabaseDefaultPermissionsAttributes) InternalRef

func (DataCreateDatabaseDefaultPermissionsAttributes) InternalTokens

func (DataCreateDatabaseDefaultPermissionsAttributes) InternalWithRef

func (DataCreateDatabaseDefaultPermissionsAttributes) Permissions

func (DataCreateDatabaseDefaultPermissionsAttributes) Principal

type DataCreateDatabaseDefaultPermissionsState

type DataCreateDatabaseDefaultPermissionsState struct {
	Permissions []string `json:"permissions"`
	Principal   string   `json:"principal"`
}

type DataCreateTableDefaultPermissionsAttributes

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

func (DataCreateTableDefaultPermissionsAttributes) InternalRef

func (DataCreateTableDefaultPermissionsAttributes) InternalTokens

func (DataCreateTableDefaultPermissionsAttributes) InternalWithRef

func (DataCreateTableDefaultPermissionsAttributes) Permissions

func (DataCreateTableDefaultPermissionsAttributes) Principal

type DataCreateTableDefaultPermissionsState

type DataCreateTableDefaultPermissionsState struct {
	Permissions []string `json:"permissions"`
	Principal   string   `json:"principal"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_lakeformation_data_lake_settings.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aldls *DataSource) Attributes() dataAwsLakeformationDataLakeSettingsAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

func (aldls *DataSource) Configuration() interface{}

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aldls *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aldls *DataSource) LocalName() string

LocalName returns the local name for DataSource.

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aldls *Resource) Attributes() awsLakeformationDataLakeSettingsAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aldls *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aldls *Resource) State() (*awsLakeformationDataLakeSettingsState, bool)

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

func (*Resource) StateMust

func (aldls *Resource) StateMust() *awsLakeformationDataLakeSettingsState

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

func (*Resource) Type

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