aws_auditmanager_assessment

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 {
	// 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 (AssessmentReportsDestinationAttributes) DestinationType

func (AssessmentReportsDestinationAttributes) InternalRef

func (AssessmentReportsDestinationAttributes) InternalTokens

func (AssessmentReportsDestinationAttributes) InternalWithRef

type AssessmentReportsDestinationState

type AssessmentReportsDestinationState struct {
	Destination     string `json:"destination"`
	DestinationType string `json:"destination_type"`
}

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 New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

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) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (aaa *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (aaa *Resource) State() (*awsAuditmanagerAssessmentState, bool)

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

func (*Resource) StateMust

func (aaa *Resource) StateMust() *awsAuditmanagerAssessmentState

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

func (*Resource) Type

func (aaa *Resource) Type() string

Type returns the Terraform object type 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 RolesAllState struct {
	RoleArn  string `json:"role_arn"`
	RoleType string `json:"role_type"`
}

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 RolesState struct {
	RoleArn  string `json:"role_arn"`
	RoleType string `json:"role_type"`
}

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 (ScopeAttributes) AwsServices

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 (ScopeAwsAccountsAttributes) InternalRef

func (aa ScopeAwsAccountsAttributes) InternalRef() (terra.Reference, error)

func (ScopeAwsAccountsAttributes) InternalTokens

func (aa ScopeAwsAccountsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ScopeAwsAccountsAttributes) InternalWithRef

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 (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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL