Documentation ¶
Index ¶
- type Args
- type ControlMappingSources
- type ControlMappingSourcesAttributes
- func (cms ControlMappingSourcesAttributes) InternalRef() (terra.Reference, error)
- func (cms ControlMappingSourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cms ControlMappingSourcesAttributes) InternalWithRef(ref terra.Reference) ControlMappingSourcesAttributes
- func (cms ControlMappingSourcesAttributes) SourceDescription() terra.StringValue
- func (cms ControlMappingSourcesAttributes) SourceFrequency() terra.StringValue
- func (cms ControlMappingSourcesAttributes) SourceId() terra.StringValue
- func (cms ControlMappingSourcesAttributes) SourceKeyword() terra.ListValue[ControlMappingSourcesSourceKeywordAttributes]
- func (cms ControlMappingSourcesAttributes) SourceName() terra.StringValue
- func (cms ControlMappingSourcesAttributes) SourceSetUpOption() terra.StringValue
- func (cms ControlMappingSourcesAttributes) SourceType() terra.StringValue
- func (cms ControlMappingSourcesAttributes) TroubleshootingText() terra.StringValue
- type ControlMappingSourcesSourceKeyword
- type ControlMappingSourcesSourceKeywordAttributes
- func (sk ControlMappingSourcesSourceKeywordAttributes) InternalRef() (terra.Reference, error)
- func (sk ControlMappingSourcesSourceKeywordAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sk ControlMappingSourcesSourceKeywordAttributes) InternalWithRef(ref terra.Reference) ControlMappingSourcesSourceKeywordAttributes
- func (sk ControlMappingSourcesSourceKeywordAttributes) KeywordInputType() terra.StringValue
- func (sk ControlMappingSourcesSourceKeywordAttributes) KeywordValue() terra.StringValue
- type ControlMappingSourcesSourceKeywordState
- type ControlMappingSourcesState
- type DataArgs
- type DataControlMappingSources
- type DataControlMappingSourcesAttributes
- func (cms DataControlMappingSourcesAttributes) InternalRef() (terra.Reference, error)
- func (cms DataControlMappingSourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (cms DataControlMappingSourcesAttributes) InternalWithRef(ref terra.Reference) DataControlMappingSourcesAttributes
- func (cms DataControlMappingSourcesAttributes) SourceDescription() terra.StringValue
- func (cms DataControlMappingSourcesAttributes) SourceFrequency() terra.StringValue
- func (cms DataControlMappingSourcesAttributes) SourceId() terra.StringValue
- func (cms DataControlMappingSourcesAttributes) SourceKeyword() terra.ListValue[DataControlMappingSourcesSourceKeywordAttributes]
- func (cms DataControlMappingSourcesAttributes) SourceName() terra.StringValue
- func (cms DataControlMappingSourcesAttributes) SourceSetUpOption() terra.StringValue
- func (cms DataControlMappingSourcesAttributes) SourceType() terra.StringValue
- func (cms DataControlMappingSourcesAttributes) TroubleshootingText() terra.StringValue
- type DataControlMappingSourcesSourceKeyword
- type DataControlMappingSourcesSourceKeywordAttributes
- func (sk DataControlMappingSourcesSourceKeywordAttributes) InternalRef() (terra.Reference, error)
- func (sk DataControlMappingSourcesSourceKeywordAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (sk DataControlMappingSourcesSourceKeywordAttributes) InternalWithRef(ref terra.Reference) DataControlMappingSourcesSourceKeywordAttributes
- func (sk DataControlMappingSourcesSourceKeywordAttributes) KeywordInputType() terra.StringValue
- func (sk DataControlMappingSourcesSourceKeywordAttributes) KeywordValue() terra.StringValue
- type DataControlMappingSourcesSourceKeywordState
- type DataControlMappingSourcesState
- type DataSource
- type Resource
- func (aac *Resource) Attributes() awsAuditmanagerControlAttributes
- func (aac *Resource) Configuration() interface{}
- func (aac *Resource) DependOn() terra.Reference
- func (aac *Resource) Dependencies() terra.Dependencies
- func (aac *Resource) ImportState(state io.Reader) error
- func (aac *Resource) LifecycleManagement() *terra.Lifecycle
- func (aac *Resource) LocalName() string
- func (aac *Resource) State() (*awsAuditmanagerControlState, bool)
- func (aac *Resource) StateMust() *awsAuditmanagerControlState
- func (aac *Resource) Type() string
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 (cms ControlMappingSourcesAttributes) InternalRef() (terra.Reference, error)
func (ControlMappingSourcesAttributes) InternalTokens ¶
func (cms ControlMappingSourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ControlMappingSourcesAttributes) InternalWithRef ¶
func (cms ControlMappingSourcesAttributes) InternalWithRef(ref terra.Reference) ControlMappingSourcesAttributes
func (ControlMappingSourcesAttributes) SourceDescription ¶
func (cms ControlMappingSourcesAttributes) SourceDescription() terra.StringValue
func (ControlMappingSourcesAttributes) SourceFrequency ¶
func (cms ControlMappingSourcesAttributes) SourceFrequency() terra.StringValue
func (ControlMappingSourcesAttributes) SourceId ¶
func (cms ControlMappingSourcesAttributes) SourceId() terra.StringValue
func (ControlMappingSourcesAttributes) SourceKeyword ¶
func (cms ControlMappingSourcesAttributes) SourceKeyword() terra.ListValue[ControlMappingSourcesSourceKeywordAttributes]
func (ControlMappingSourcesAttributes) SourceName ¶
func (cms ControlMappingSourcesAttributes) SourceName() terra.StringValue
func (ControlMappingSourcesAttributes) SourceSetUpOption ¶
func (cms ControlMappingSourcesAttributes) SourceSetUpOption() terra.StringValue
func (ControlMappingSourcesAttributes) SourceType ¶
func (cms ControlMappingSourcesAttributes) SourceType() terra.StringValue
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 (sk ControlMappingSourcesSourceKeywordAttributes) InternalRef() (terra.Reference, error)
func (ControlMappingSourcesSourceKeywordAttributes) InternalTokens ¶
func (sk ControlMappingSourcesSourceKeywordAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ControlMappingSourcesSourceKeywordAttributes) InternalWithRef ¶
func (sk ControlMappingSourcesSourceKeywordAttributes) InternalWithRef(ref terra.Reference) ControlMappingSourcesSourceKeywordAttributes
func (ControlMappingSourcesSourceKeywordAttributes) KeywordInputType ¶
func (sk ControlMappingSourcesSourceKeywordAttributes) KeywordInputType() terra.StringValue
func (ControlMappingSourcesSourceKeywordAttributes) KeywordValue ¶
func (sk ControlMappingSourcesSourceKeywordAttributes) KeywordValue() terra.StringValue
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 (cms DataControlMappingSourcesAttributes) InternalRef() (terra.Reference, error)
func (DataControlMappingSourcesAttributes) InternalTokens ¶
func (cms DataControlMappingSourcesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataControlMappingSourcesAttributes) InternalWithRef ¶
func (cms DataControlMappingSourcesAttributes) InternalWithRef(ref terra.Reference) DataControlMappingSourcesAttributes
func (DataControlMappingSourcesAttributes) SourceDescription ¶
func (cms DataControlMappingSourcesAttributes) SourceDescription() terra.StringValue
func (DataControlMappingSourcesAttributes) SourceFrequency ¶
func (cms DataControlMappingSourcesAttributes) SourceFrequency() terra.StringValue
func (DataControlMappingSourcesAttributes) SourceId ¶
func (cms DataControlMappingSourcesAttributes) SourceId() terra.StringValue
func (DataControlMappingSourcesAttributes) SourceKeyword ¶
func (cms DataControlMappingSourcesAttributes) SourceKeyword() terra.ListValue[DataControlMappingSourcesSourceKeywordAttributes]
func (DataControlMappingSourcesAttributes) SourceName ¶
func (cms DataControlMappingSourcesAttributes) SourceName() terra.StringValue
func (DataControlMappingSourcesAttributes) SourceSetUpOption ¶
func (cms DataControlMappingSourcesAttributes) SourceSetUpOption() terra.StringValue
func (DataControlMappingSourcesAttributes) SourceType ¶
func (cms DataControlMappingSourcesAttributes) SourceType() terra.StringValue
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 (sk DataControlMappingSourcesSourceKeywordAttributes) InternalRef() (terra.Reference, error)
func (DataControlMappingSourcesSourceKeywordAttributes) InternalTokens ¶
func (sk DataControlMappingSourcesSourceKeywordAttributes) InternalTokens() (hclwrite.Tokens, error)
func (DataControlMappingSourcesSourceKeywordAttributes) InternalWithRef ¶
func (sk DataControlMappingSourcesSourceKeywordAttributes) InternalWithRef(ref terra.Reference) DataControlMappingSourcesSourceKeywordAttributes
func (DataControlMappingSourcesSourceKeywordAttributes) KeywordInputType ¶
func (sk DataControlMappingSourcesSourceKeywordAttributes) KeywordInputType() terra.StringValue
func (DataControlMappingSourcesSourceKeywordAttributes) KeywordValue ¶
func (sk DataControlMappingSourcesSourceKeywordAttributes) KeywordValue() terra.StringValue
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 ¶
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 (*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) Dependencies ¶
func (aac *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.