provider

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2025 License: MPL-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindAssociationByID

func FindAssociationByID(ctx context.Context, conn *ssm.Client, id string) (*awstypes.AssociationDescription, error)

func New

func New(version string) func() provider.Provider

func SetFrameworkFromBool

func SetFrameworkFromBool(state *types.Bool, value bool)

func SetFrameworkFromOutputLocationModel

func SetFrameworkFromOutputLocationModel(state *[]OutputLocationModel, value *awstypes.InstanceAssociationOutputLocation)

func SetFrameworkFromString

func SetFrameworkFromString(state *types.String, value string, emptyAsNull bool)

func SetFrameworkFromtStringPointer

func SetFrameworkFromtStringPointer(state *types.String, value *string)

func SetFrameworkTags

func SetFrameworkTags(state *types.Map, tags []awstypes.Tag, emptyTags bool)

Types

type AWSSSMAssociationResource

type AWSSSMAssociationResource struct {
	Meta Meta
}

func (*AWSSSMAssociationResource) Configure

func (*AWSSSMAssociationResource) Create

func (*AWSSSMAssociationResource) Delete

func (*AWSSSMAssociationResource) ImportState

func (*AWSSSMAssociationResource) Metadata

func (*AWSSSMAssociationResource) Read

func (*AWSSSMAssociationResource) Schema

func (*AWSSSMAssociationResource) Update

type AWSSSMAssociationResourceModel

type AWSSSMAssociationResourceModel struct {
	ApplyOnlyAtCronInterval       types.Bool            `tfsdk:"apply_only_at_cron_interval"`
	Arn                           types.String          `tfsdk:"arn"`
	AssociationId                 types.String          `tfsdk:"association_id"`
	AssociationName               types.String          `tfsdk:"association_name"`
	AssociationVersion            types.String          `tfsdk:"association_version"`
	AutomationTargetParameterName types.String          `tfsdk:"automation_target_parameter_name"`
	ComplianceSeverity            types.String          `tfsdk:"compliance_severity"`
	DocumentVersion               types.String          `tfsdk:"document_version"`
	MaxConcurrency                types.String          `tfsdk:"max_concurrency"`
	MaxErrors                     types.String          `tfsdk:"max_errors"`
	Name                          types.String          `tfsdk:"name"`
	OutputLocation                []OutputLocationModel `tfsdk:"output_location"`
	Parameters                    types.Map             `tfsdk:"parameters"`
	ScheduleExpression            types.String          `tfsdk:"schedule_expression"`
	SyncCompliance                types.String          `tfsdk:"sync_compliance"`
	Tags                          types.Map             `tfsdk:"tags"`
	TagsAll                       types.Map             `tfsdk:"tags_all"`
	Targets                       types.List            `tfsdk:"targets"`
	WaitForSuccessTimeoutSeconds  types.Int32           `tfsdk:"wait_for_success_timeout_seconds"`
}

type AutomationProvider

type AutomationProvider struct {
	Meta Meta
	// contains filtered or unexported fields
}

func (*AutomationProvider) Configure

func (ap *AutomationProvider) Configure(ctx context.Context, request provider.ConfigureRequest, response *provider.ConfigureResponse)

func (*AutomationProvider) DataSources

func (ap *AutomationProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*AutomationProvider) EphemeralResources

func (ap *AutomationProvider) EphemeralResources(ctx context.Context) []func() ephemeral.EphemeralResource

func (*AutomationProvider) Metadata

func (ap *AutomationProvider) Metadata(ctx context.Context, request provider.MetadataRequest, response *provider.MetadataResponse)

func (*AutomationProvider) Resources

func (ap *AutomationProvider) Resources(ctx context.Context) []func() resource.Resource

func (*AutomationProvider) Schema

func (ap *AutomationProvider) Schema(ctx context.Context, request provider.SchemaRequest, response *provider.SchemaResponse)

type Meta

type Meta struct {
	AWSClient conn.AWSClient
}

type OutputLocationModel

type OutputLocationModel struct {
	S3BucketName types.String `tfsdk:"s3_bucket_name"`
	S3KeyPrefix  types.String `tfsdk:"s3_key_prefix"`
	S3Region     types.String `tfsdk:"s3_region"`
}

type ProviderConfigurationModel added in v1.0.1

type ProviderConfigurationModel struct {
	Profile types.String `tfsdk:"profile"`
	Region  types.String `tfsdk:"region"`
}

Jump to

Keyboard shortcuts

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