Documentation ¶
Index ¶
Constants ¶
const ( EBS = "EBS" S3 = "S3" DynamoDB = "DynamoDB" RDS = "RDS" EC2MSSQL = "EC2MSSQL" )
Variables ¶
This section is empty.
Functions ¶
func NewClumioAWSManualConnectionResource ¶ added in v0.6.0
NewClumioAWSManualConnectionResource is a helper function to simplify the provider implementation.
Types ¶
type AssetsEnabledModel ¶
type AssetsEnabledModel struct { EBS types.Bool `tfsdk:"ebs"` RDS types.Bool `tfsdk:"rds"` DynamoDB types.Bool `tfsdk:"ddb"` S3 types.Bool `tfsdk:"s3"` EC2MSSQL types.Bool `tfsdk:"mssql"` }
AssetsEnabledModel maps to the 'assets_enabled' field in clumioAWSManualConnectionResourceModel and is used to denote which asset types are enabled for the manual connection.
type EventRules ¶
type EventRules struct { // Event rule for tracking resource changes in selected assets CloudtrailRuleArn types.String `tfsdk:"cloudtrail_rule_arn"` // Event rule for tracking tag and resource changes in selected assets CloudwatchRuleArn types.String `tfsdk:"cloudwatch_rule_arn"` }
EventRules maps to 'event_rules' field in ResourcesModel and contains stack ARNs to the event rules used for tracking changes in assets.
type MssqlServiceRoles ¶
type MssqlServiceRoles struct { // Role assumable by ssm service SsmNotificationRoleArn types.String `tfsdk:"ssm_notification_role_arn"` // Instance created for ec2 instance profile role Ec2SsmInstanceProfileArn types.String `tfsdk:"ec2_ssm_instance_profile_arn"` }
MssqlServiceRoles maps to 'mssql' field in ServiceRoles and contains stack ARNs to Mssql specific service roles
type ResourcesModel ¶
type ResourcesModel struct { // IAM role with permissions to enable Clumio to backup and restore your assets ClumioIAMRoleArn types.String `tfsdk:"clumio_iam_role_arn"` // IAM role with permissions used by Clumio to create AWS support cases ClumioSupportRoleArn types.String `tfsdk:"clumio_support_role_arn"` // SNS topic to publish messages to Clumio services ClumioEventPubArn types.String `tfsdk:"clumio_event_pub_arn"` // Event rules for tracking changes in assets EventRules *EventRules `tfsdk:"event_rules"` // Asset-specific service roles ServiceRoles *ServiceRoles `tfsdk:"service_roles"` }
ResourcesModel maps to the 'resources' field in clumioAWSManualConnectionResourceModel and is used to denote the stack ARNs to the configured manual resources for the connection.
type S3ServiceRoles ¶
type S3ServiceRoles struct { // Role assumed for continuous backups ContinuousBackupsRoleArn types.String `tfsdk:"continuous_backups_role_arn"` }
S3ServiceRoles maps to 's3' field in ServiceRoles and contains stack ARNs to S3 specific service roles
type ServiceRoles ¶
type ServiceRoles struct { // Service roles required for mssql Mssql *MssqlServiceRoles `tfsdk:"mssql"` // Service roles required for s3 S3 *S3ServiceRoles `tfsdk:"s3"` }
ServiceRoles maps to 'service_roles' field in ResourcesModel and contains stack ARNs to the asset-specific service roles for the connection.