Documentation
¶
Index ¶
- type Args
- type AssessmentReportsDestination
- type AssessmentReportsDestinationAttributes
- func (ard AssessmentReportsDestinationAttributes) Destination() terra.StringValue
- func (ard AssessmentReportsDestinationAttributes) DestinationType() terra.StringValue
- func (ard AssessmentReportsDestinationAttributes) InternalRef() (terra.Reference, error)
- func (ard AssessmentReportsDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ard AssessmentReportsDestinationAttributes) InternalWithRef(ref terra.Reference) AssessmentReportsDestinationAttributes
- type AssessmentReportsDestinationState
- type Resource
- func (aaa *Resource) Attributes() awsAuditmanagerAssessmentAttributes
- func (aaa *Resource) Configuration() interface{}
- func (aaa *Resource) DependOn() terra.Reference
- func (aaa *Resource) Dependencies() terra.Dependencies
- func (aaa *Resource) ImportState(state io.Reader) error
- func (aaa *Resource) LifecycleManagement() *terra.Lifecycle
- func (aaa *Resource) LocalName() string
- func (aaa *Resource) State() (*awsAuditmanagerAssessmentState, bool)
- func (aaa *Resource) StateMust() *awsAuditmanagerAssessmentState
- func (aaa *Resource) Type() string
- type Roles
- type RolesAllAttributes
- func (ra RolesAllAttributes) InternalRef() (terra.Reference, error)
- func (ra RolesAllAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (ra RolesAllAttributes) InternalWithRef(ref terra.Reference) RolesAllAttributes
- func (ra RolesAllAttributes) RoleArn() terra.StringValue
- func (ra RolesAllAttributes) RoleType() terra.StringValue
- type RolesAllState
- type RolesAttributes
- func (r RolesAttributes) InternalRef() (terra.Reference, error)
- func (r RolesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (r RolesAttributes) InternalWithRef(ref terra.Reference) RolesAttributes
- func (r RolesAttributes) RoleArn() terra.StringValue
- func (r RolesAttributes) RoleType() terra.StringValue
- type RolesState
- type Scope
- type ScopeAttributes
- func (s ScopeAttributes) AwsAccounts() terra.SetValue[ScopeAwsAccountsAttributes]
- func (s ScopeAttributes) AwsServices() terra.SetValue[ScopeAwsServicesAttributes]
- func (s ScopeAttributes) InternalRef() (terra.Reference, error)
- func (s ScopeAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (s ScopeAttributes) InternalWithRef(ref terra.Reference) ScopeAttributes
- type ScopeAwsAccounts
- type ScopeAwsAccountsAttributes
- func (aa ScopeAwsAccountsAttributes) Id() terra.StringValue
- func (aa ScopeAwsAccountsAttributes) InternalRef() (terra.Reference, error)
- func (aa ScopeAwsAccountsAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (aa ScopeAwsAccountsAttributes) InternalWithRef(ref terra.Reference) ScopeAwsAccountsAttributes
- type ScopeAwsAccountsState
- type ScopeAwsServices
- type ScopeAwsServicesAttributes
- func (as ScopeAwsServicesAttributes) InternalRef() (terra.Reference, error)
- func (as ScopeAwsServicesAttributes) InternalTokens() (hclwrite.Tokens, error)
- func (as ScopeAwsServicesAttributes) InternalWithRef(ref terra.Reference) ScopeAwsServicesAttributes
- func (as ScopeAwsServicesAttributes) ServiceName() terra.StringValue
- type ScopeAwsServicesState
- type ScopeState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Description: string, optional Description terra.StringValue `hcl:"description,attr"` // FrameworkId: string, required FrameworkId terra.StringValue `hcl:"framework_id,attr" validate:"required"` // Name: string, required Name terra.StringValue `hcl:"name,attr" validate:"required"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // Roles: min=0 Roles []Roles `hcl:"roles,block" validate:"min=0"` // AssessmentReportsDestination: min=0 AssessmentReportsDestination []AssessmentReportsDestination `hcl:"assessment_reports_destination,block" validate:"min=0"` // Scope: min=0 Scope []Scope `hcl:"scope,block" validate:"min=0"` }
Args contains the configurations for aws_auditmanager_assessment.
type AssessmentReportsDestination ¶
type AssessmentReportsDestination struct { // Destination: string, required Destination terra.StringValue `hcl:"destination,attr" validate:"required"` // DestinationType: string, required DestinationType terra.StringValue `hcl:"destination_type,attr" validate:"required"` }
type AssessmentReportsDestinationAttributes ¶
type AssessmentReportsDestinationAttributes struct {
// contains filtered or unexported fields
}
func (AssessmentReportsDestinationAttributes) Destination ¶
func (ard AssessmentReportsDestinationAttributes) Destination() terra.StringValue
func (AssessmentReportsDestinationAttributes) DestinationType ¶
func (ard AssessmentReportsDestinationAttributes) DestinationType() terra.StringValue
func (AssessmentReportsDestinationAttributes) InternalRef ¶
func (ard AssessmentReportsDestinationAttributes) InternalRef() (terra.Reference, error)
func (AssessmentReportsDestinationAttributes) InternalTokens ¶
func (ard AssessmentReportsDestinationAttributes) InternalTokens() (hclwrite.Tokens, error)
func (AssessmentReportsDestinationAttributes) InternalWithRef ¶
func (ard AssessmentReportsDestinationAttributes) InternalWithRef(ref terra.Reference) AssessmentReportsDestinationAttributes
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_assessment.
func (*Resource) Attributes ¶
func (aaa *Resource) Attributes() awsAuditmanagerAssessmentAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (aaa *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (aaa *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.
type Roles ¶
type Roles struct { // RoleArn: string, optional RoleArn terra.StringValue `hcl:"role_arn,attr"` // RoleType: string, optional RoleType terra.StringValue `hcl:"role_type,attr"` }
type RolesAllAttributes ¶
type RolesAllAttributes struct {
// contains filtered or unexported fields
}
func (RolesAllAttributes) InternalRef ¶
func (ra RolesAllAttributes) InternalRef() (terra.Reference, error)
func (RolesAllAttributes) InternalTokens ¶
func (ra RolesAllAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RolesAllAttributes) InternalWithRef ¶
func (ra RolesAllAttributes) InternalWithRef(ref terra.Reference) RolesAllAttributes
func (RolesAllAttributes) RoleArn ¶
func (ra RolesAllAttributes) RoleArn() terra.StringValue
func (RolesAllAttributes) RoleType ¶
func (ra RolesAllAttributes) RoleType() terra.StringValue
type RolesAllState ¶
type RolesAttributes ¶
type RolesAttributes struct {
// contains filtered or unexported fields
}
func (RolesAttributes) InternalRef ¶
func (r RolesAttributes) InternalRef() (terra.Reference, error)
func (RolesAttributes) InternalTokens ¶
func (r RolesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (RolesAttributes) InternalWithRef ¶
func (r RolesAttributes) InternalWithRef(ref terra.Reference) RolesAttributes
func (RolesAttributes) RoleArn ¶
func (r RolesAttributes) RoleArn() terra.StringValue
func (RolesAttributes) RoleType ¶
func (r RolesAttributes) RoleType() terra.StringValue
type RolesState ¶
type Scope ¶
type Scope struct { // ScopeAwsAccounts: min=0 AwsAccounts []ScopeAwsAccounts `hcl:"aws_accounts,block" validate:"min=0"` // ScopeAwsServices: min=0 AwsServices []ScopeAwsServices `hcl:"aws_services,block" validate:"min=0"` }
type ScopeAttributes ¶
type ScopeAttributes struct {
// contains filtered or unexported fields
}
func (ScopeAttributes) AwsAccounts ¶
func (s ScopeAttributes) AwsAccounts() terra.SetValue[ScopeAwsAccountsAttributes]
func (ScopeAttributes) AwsServices ¶
func (s ScopeAttributes) AwsServices() terra.SetValue[ScopeAwsServicesAttributes]
func (ScopeAttributes) InternalRef ¶
func (s ScopeAttributes) InternalRef() (terra.Reference, error)
func (ScopeAttributes) InternalTokens ¶
func (s ScopeAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScopeAttributes) InternalWithRef ¶
func (s ScopeAttributes) InternalWithRef(ref terra.Reference) ScopeAttributes
type ScopeAwsAccounts ¶
type ScopeAwsAccounts struct { // Id: string, required Id terra.StringValue `hcl:"id,attr" validate:"required"` }
type ScopeAwsAccountsAttributes ¶
type ScopeAwsAccountsAttributes struct {
// contains filtered or unexported fields
}
func (ScopeAwsAccountsAttributes) Id ¶
func (aa ScopeAwsAccountsAttributes) Id() terra.StringValue
func (ScopeAwsAccountsAttributes) InternalRef ¶
func (aa ScopeAwsAccountsAttributes) InternalRef() (terra.Reference, error)
func (ScopeAwsAccountsAttributes) InternalTokens ¶
func (aa ScopeAwsAccountsAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScopeAwsAccountsAttributes) InternalWithRef ¶
func (aa ScopeAwsAccountsAttributes) InternalWithRef(ref terra.Reference) ScopeAwsAccountsAttributes
type ScopeAwsAccountsState ¶
type ScopeAwsAccountsState struct {
Id string `json:"id"`
}
type ScopeAwsServices ¶
type ScopeAwsServices struct { // ServiceName: string, required ServiceName terra.StringValue `hcl:"service_name,attr" validate:"required"` }
type ScopeAwsServicesAttributes ¶
type ScopeAwsServicesAttributes struct {
// contains filtered or unexported fields
}
func (ScopeAwsServicesAttributes) InternalRef ¶
func (as ScopeAwsServicesAttributes) InternalRef() (terra.Reference, error)
func (ScopeAwsServicesAttributes) InternalTokens ¶
func (as ScopeAwsServicesAttributes) InternalTokens() (hclwrite.Tokens, error)
func (ScopeAwsServicesAttributes) InternalWithRef ¶
func (as ScopeAwsServicesAttributes) InternalWithRef(ref terra.Reference) ScopeAwsServicesAttributes
func (ScopeAwsServicesAttributes) ServiceName ¶
func (as ScopeAwsServicesAttributes) ServiceName() terra.StringValue
type ScopeAwsServicesState ¶
type ScopeAwsServicesState struct {
ServiceName string `json:"service_name"`
}
type ScopeState ¶
type ScopeState struct { AwsAccounts []ScopeAwsAccountsState `json:"aws_accounts"` AwsServices []ScopeAwsServicesState `json:"aws_services"` }
Click to show internal directories.
Click to hide internal directories.