aws_backup_report_plan

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"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,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"`
	// TagsAll: map of string, optional
	TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"`
	// ReportDeliveryChannel: required
	ReportDeliveryChannel *ReportDeliveryChannel `hcl:"report_delivery_channel,block" validate:"required"`
	// ReportSetting: required
	ReportSetting *ReportSetting `hcl:"report_setting,block" validate:"required"`
}

Args contains the configurations for aws_backup_report_plan.

type DataArgs

type DataArgs struct {
	// Id: string, optional
	Id terra.StringValue `hcl:"id,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"`
}

DataArgs contains the configurations for aws_backup_report_plan.

type DataReportDeliveryChannelAttributes

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

func (DataReportDeliveryChannelAttributes) Formats

func (DataReportDeliveryChannelAttributes) InternalRef

func (DataReportDeliveryChannelAttributes) InternalTokens

func (rdc DataReportDeliveryChannelAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataReportDeliveryChannelAttributes) InternalWithRef

func (DataReportDeliveryChannelAttributes) S3BucketName

func (DataReportDeliveryChannelAttributes) S3KeyPrefix

type DataReportDeliveryChannelState

type DataReportDeliveryChannelState struct {
	Formats      []string `json:"formats"`
	S3BucketName string   `json:"s3_bucket_name"`
	S3KeyPrefix  string   `json:"s3_key_prefix"`
}

type DataReportSettingAttributes

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

func (DataReportSettingAttributes) Accounts

func (DataReportSettingAttributes) FrameworkArns

func (DataReportSettingAttributes) InternalRef

func (rs DataReportSettingAttributes) InternalRef() (terra.Reference, error)

func (DataReportSettingAttributes) InternalTokens

func (rs DataReportSettingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DataReportSettingAttributes) InternalWithRef

func (DataReportSettingAttributes) NumberOfFrameworks

func (rs DataReportSettingAttributes) NumberOfFrameworks() terra.NumberValue

func (DataReportSettingAttributes) OrganizationUnits

func (DataReportSettingAttributes) Regions

func (DataReportSettingAttributes) ReportTemplate

func (rs DataReportSettingAttributes) ReportTemplate() terra.StringValue

type DataReportSettingState

type DataReportSettingState struct {
	Accounts           []string `json:"accounts"`
	FrameworkArns      []string `json:"framework_arns"`
	NumberOfFrameworks float64  `json:"number_of_frameworks"`
	OrganizationUnits  []string `json:"organization_units"`
	Regions            []string `json:"regions"`
	ReportTemplate     string   `json:"report_template"`
}

type DataSource

type DataSource struct {
	Name string
	Args DataArgs
}

DataSource represents the Terraform data resource aws_backup_report_plan.

func Data

func Data(name string, args DataArgs) *DataSource

Data creates a new instance of DataSource.

func (*DataSource) Attributes

func (abrp *DataSource) Attributes() dataAwsBackupReportPlanAttributes

Attributes returns the attributes for DataSource.

func (*DataSource) Configuration

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

Configuration returns the configuration (args) for DataSource.

func (*DataSource) DataSource

func (abrp *DataSource) DataSource() string

DataSource returns the Terraform object type for DataSource.

func (*DataSource) LocalName

func (abrp *DataSource) LocalName() string

LocalName returns the local name for DataSource.

type ReportDeliveryChannel

type ReportDeliveryChannel struct {
	// Formats: set of string, optional
	Formats terra.SetValue[terra.StringValue] `hcl:"formats,attr"`
	// S3BucketName: string, required
	S3BucketName terra.StringValue `hcl:"s3_bucket_name,attr" validate:"required"`
	// S3KeyPrefix: string, optional
	S3KeyPrefix terra.StringValue `hcl:"s3_key_prefix,attr"`
}

type ReportDeliveryChannelAttributes

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

func (ReportDeliveryChannelAttributes) Formats

func (ReportDeliveryChannelAttributes) InternalRef

func (ReportDeliveryChannelAttributes) InternalTokens

func (rdc ReportDeliveryChannelAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ReportDeliveryChannelAttributes) InternalWithRef

func (ReportDeliveryChannelAttributes) S3BucketName

func (ReportDeliveryChannelAttributes) S3KeyPrefix

type ReportDeliveryChannelState

type ReportDeliveryChannelState struct {
	Formats      []string `json:"formats"`
	S3BucketName string   `json:"s3_bucket_name"`
	S3KeyPrefix  string   `json:"s3_key_prefix"`
}

type ReportSetting

type ReportSetting struct {
	// Accounts: set of string, optional
	Accounts terra.SetValue[terra.StringValue] `hcl:"accounts,attr"`
	// FrameworkArns: set of string, optional
	FrameworkArns terra.SetValue[terra.StringValue] `hcl:"framework_arns,attr"`
	// NumberOfFrameworks: number, optional
	NumberOfFrameworks terra.NumberValue `hcl:"number_of_frameworks,attr"`
	// OrganizationUnits: set of string, optional
	OrganizationUnits terra.SetValue[terra.StringValue] `hcl:"organization_units,attr"`
	// Regions: set of string, optional
	Regions terra.SetValue[terra.StringValue] `hcl:"regions,attr"`
	// ReportTemplate: string, required
	ReportTemplate terra.StringValue `hcl:"report_template,attr" validate:"required"`
}

type ReportSettingAttributes

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

func (ReportSettingAttributes) Accounts

func (ReportSettingAttributes) FrameworkArns

func (ReportSettingAttributes) InternalRef

func (rs ReportSettingAttributes) InternalRef() (terra.Reference, error)

func (ReportSettingAttributes) InternalTokens

func (rs ReportSettingAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ReportSettingAttributes) InternalWithRef

func (ReportSettingAttributes) NumberOfFrameworks

func (rs ReportSettingAttributes) NumberOfFrameworks() terra.NumberValue

func (ReportSettingAttributes) OrganizationUnits

func (rs ReportSettingAttributes) OrganizationUnits() terra.SetValue[terra.StringValue]

func (ReportSettingAttributes) Regions

func (ReportSettingAttributes) ReportTemplate

func (rs ReportSettingAttributes) ReportTemplate() terra.StringValue

type ReportSettingState

type ReportSettingState struct {
	Accounts           []string `json:"accounts"`
	FrameworkArns      []string `json:"framework_arns"`
	NumberOfFrameworks float64  `json:"number_of_frameworks"`
	OrganizationUnits  []string `json:"organization_units"`
	Regions            []string `json:"regions"`
	ReportTemplate     string   `json:"report_template"`
}

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

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (abrp *Resource) Attributes() awsBackupReportPlanAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

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

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

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

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

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

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

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

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

func (*Resource) LifecycleManagement

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

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (abrp *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (abrp *Resource) State() (*awsBackupReportPlanState, bool)

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

func (*Resource) StateMust

func (abrp *Resource) StateMust() *awsBackupReportPlanState

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

func (*Resource) Type

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