aws_auditmanager_control

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 {
	// ActionPlanInstructions: string, optional
	ActionPlanInstructions terra.StringValue `hcl:"action_plan_instructions,attr"`
	// ActionPlanTitle: string, optional
	ActionPlanTitle terra.StringValue `hcl:"action_plan_title,attr"`
	// Description: string, optional
	Description terra.StringValue `hcl:"description,attr"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// TestingInformation: string, optional
	TestingInformation terra.StringValue `hcl:"testing_information,attr"`
	// ControlMappingSources: min=0
	ControlMappingSources []ControlMappingSources `hcl:"control_mapping_sources,block" validate:"min=0"`
}

Args contains the configurations for aws_auditmanager_control.

type ControlMappingSources

type ControlMappingSources struct {
	// SourceDescription: string, optional
	SourceDescription terra.StringValue `hcl:"source_description,attr"`
	// SourceFrequency: string, optional
	SourceFrequency terra.StringValue `hcl:"source_frequency,attr"`
	// SourceName: string, required
	SourceName terra.StringValue `hcl:"source_name,attr" validate:"required"`
	// SourceSetUpOption: string, required
	SourceSetUpOption terra.StringValue `hcl:"source_set_up_option,attr" validate:"required"`
	// SourceType: string, required
	SourceType terra.StringValue `hcl:"source_type,attr" validate:"required"`
	// TroubleshootingText: string, optional
	TroubleshootingText terra.StringValue `hcl:"troubleshooting_text,attr"`
	// ControlMappingSourcesSourceKeyword: min=0
	SourceKeyword []ControlMappingSourcesSourceKeyword `hcl:"source_keyword,block" validate:"min=0"`
}

type ControlMappingSourcesAttributes

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

func (ControlMappingSourcesAttributes) InternalRef

func (ControlMappingSourcesAttributes) InternalTokens

func (cms ControlMappingSourcesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ControlMappingSourcesAttributes) InternalWithRef

func (ControlMappingSourcesAttributes) SourceDescription

func (cms ControlMappingSourcesAttributes) SourceDescription() terra.StringValue

func (ControlMappingSourcesAttributes) SourceFrequency

func (cms ControlMappingSourcesAttributes) SourceFrequency() terra.StringValue

func (ControlMappingSourcesAttributes) SourceId

func (ControlMappingSourcesAttributes) SourceKeyword

func (ControlMappingSourcesAttributes) SourceName

func (ControlMappingSourcesAttributes) SourceSetUpOption

func (cms ControlMappingSourcesAttributes) SourceSetUpOption() terra.StringValue

func (ControlMappingSourcesAttributes) SourceType

func (ControlMappingSourcesAttributes) TroubleshootingText

func (cms ControlMappingSourcesAttributes) TroubleshootingText() terra.StringValue

type ControlMappingSourcesSourceKeyword

type ControlMappingSourcesSourceKeyword struct {
	// KeywordInputType: string, required
	KeywordInputType terra.StringValue `hcl:"keyword_input_type,attr" validate:"required"`
	// KeywordValue: string, required
	KeywordValue terra.StringValue `hcl:"keyword_value,attr" validate:"required"`
}

type ControlMappingSourcesSourceKeywordAttributes

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

func (ControlMappingSourcesSourceKeywordAttributes) InternalRef

func (ControlMappingSourcesSourceKeywordAttributes) InternalTokens

func (ControlMappingSourcesSourceKeywordAttributes) InternalWithRef

func (ControlMappingSourcesSourceKeywordAttributes) KeywordInputType

func (ControlMappingSourcesSourceKeywordAttributes) KeywordValue

type ControlMappingSourcesSourceKeywordState

type ControlMappingSourcesSourceKeywordState struct {
	KeywordInputType string `json:"keyword_input_type"`
	KeywordValue     string `json:"keyword_value"`
}

type ControlMappingSourcesState

type ControlMappingSourcesState struct {
	SourceDescription   string                                    `json:"source_description"`
	SourceFrequency     string                                    `json:"source_frequency"`
	SourceId            string                                    `json:"source_id"`
	SourceName          string                                    `json:"source_name"`
	SourceSetUpOption   string                                    `json:"source_set_up_option"`
	SourceType          string                                    `json:"source_type"`
	TroubleshootingText string                                    `json:"troubleshooting_text"`
	SourceKeyword       []ControlMappingSourcesSourceKeywordState `json:"source_keyword"`
}

type DataArgs

type DataArgs struct {
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// Type: string, required
	Type terra.StringValue `hcl:"type,attr" validate:"required"`
	// ControlMappingSources: min=0
	ControlMappingSources []DataControlMappingSources `hcl:"control_mapping_sources,block" validate:"min=0"`
}

DataArgs contains the configurations for aws_auditmanager_control.

type DataControlMappingSources

type DataControlMappingSources struct {
	// ControlMappingSourcesSourceKeyword: min=0
	SourceKeyword []DataControlMappingSourcesSourceKeyword `hcl:"source_keyword,block" validate:"min=0"`
}

type DataControlMappingSourcesAttributes

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

func (DataControlMappingSourcesAttributes) InternalRef

func (DataControlMappingSourcesAttributes) InternalTokens

func (cms DataControlMappingSourcesAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataControlMappingSourcesAttributes) InternalWithRef

func (DataControlMappingSourcesAttributes) SourceDescription

func (cms DataControlMappingSourcesAttributes) SourceDescription() terra.StringValue

func (DataControlMappingSourcesAttributes) SourceFrequency

func (DataControlMappingSourcesAttributes) SourceId

func (DataControlMappingSourcesAttributes) SourceKeyword

func (DataControlMappingSourcesAttributes) SourceName

func (DataControlMappingSourcesAttributes) SourceSetUpOption

func (cms DataControlMappingSourcesAttributes) SourceSetUpOption() terra.StringValue

func (DataControlMappingSourcesAttributes) SourceType

func (DataControlMappingSourcesAttributes) TroubleshootingText

func (cms DataControlMappingSourcesAttributes) TroubleshootingText() terra.StringValue

type DataControlMappingSourcesSourceKeyword

type DataControlMappingSourcesSourceKeyword struct{}

type DataControlMappingSourcesSourceKeywordAttributes

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

func (DataControlMappingSourcesSourceKeywordAttributes) InternalRef

func (DataControlMappingSourcesSourceKeywordAttributes) InternalTokens

func (DataControlMappingSourcesSourceKeywordAttributes) InternalWithRef

func (DataControlMappingSourcesSourceKeywordAttributes) KeywordInputType

func (DataControlMappingSourcesSourceKeywordAttributes) KeywordValue

type DataControlMappingSourcesSourceKeywordState

type DataControlMappingSourcesSourceKeywordState struct {
	KeywordInputType string `json:"keyword_input_type"`
	KeywordValue     string `json:"keyword_value"`
}

type DataControlMappingSourcesState

type DataControlMappingSourcesState struct {
	SourceDescription   string                                        `json:"source_description"`
	SourceFrequency     string                                        `json:"source_frequency"`
	SourceId            string                                        `json:"source_id"`
	SourceName          string                                        `json:"source_name"`
	SourceSetUpOption   string                                        `json:"source_set_up_option"`
	SourceType          string                                        `json:"source_type"`
	TroubleshootingText string                                        `json:"troubleshooting_text"`
	SourceKeyword       []DataControlMappingSourcesSourceKeywordState `json:"source_keyword"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_auditmanager_control.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (aac *DataSource) Attributes() dataAwsAuditmanagerControlAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (aac *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (aac *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_auditmanager_control.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (aac *Resource) Attributes() awsAuditmanagerControlAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aac *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aac *Resource) State() (*awsAuditmanagerControlState, bool)

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

func (*Resource) StateMust

func (aac *Resource) StateMust() *awsAuditmanagerControlState

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

func (*Resource) Type

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