pub struct Resources {
Show 27 fields pub identity: Option<Identity>, pub region: String, pub s3_bucket: String, pub db_backup_s3_region: Option<String>, pub db_backup_s3_bucket: Option<String>, pub db_backup_s3_key: Option<String>, pub instance_system_logs: Option<bool>, pub instance_system_metrics: Option<bool>, pub nlb_acm_certificate_arn: Option<String>, pub kms_cmk_id: Option<String>, pub kms_cmk_arn: Option<String>, pub ec2_key_name: Option<String>, pub ec2_key_path: Option<String>, pub cloudformation_ec2_instance_role: Option<String>, pub cloudformation_ec2_instance_profile_arn: Option<String>, pub cloudformation_vpc: Option<String>, pub cloudformation_vpc_id: Option<String>, pub cloudformation_vpc_security_group_id: Option<String>, pub cloudformation_vpc_public_subnet_ids: Option<Vec<String>>, pub cloudformation_asg_anchor_nodes: Option<String>, pub cloudformation_asg_anchor_nodes_logical_id: Option<String>, pub cloudformation_asg_non_anchor_nodes: Option<String>, pub cloudformation_asg_non_anchor_nodes_logical_id: Option<String>, pub cloudformation_asg_nlb_arn: Option<String>, pub cloudformation_asg_nlb_target_group_arn: Option<String>, pub cloudformation_asg_nlb_dns_name: Option<String>, pub cloudwatch_avalanche_metrics_namespace: Option<String>,
}
Expand description

Represents the current AWS resource status.

Fields

identity: Option<Identity>

AWS STS caller loaded from its local environment. READ ONLY.

region: String

AWS region to create resources. MUST BE NON-EMPTY.

s3_bucket: String

Name of the bucket to store (or download from) the configuration and resources (e.g., S3). If not exists, it creates automatically. If exists, it skips creation and uses the existing one. MUST BE NON-EMPTY.

db_backup_s3_region: Option<String>

Region for s3 where database backup resides.

db_backup_s3_bucket: Option<String>

Bucket to download backups from. Non-empty to download the database for bootstrapping.

db_backup_s3_key: Option<String>

Non-empty to download the database for bootstrapping.

instance_system_logs: Option<bool>instance_system_metrics: Option<bool>nlb_acm_certificate_arn: Option<String>

AWS region to create resources. NON-EMPTY TO ENABLE HTTPS over NLB.

kms_cmk_id: Option<String>

KMS CMK ID to encrypt resources. None if not created yet. READ ONLY – DO NOT SET.

kms_cmk_arn: Option<String>

Only updated after creation. READ ONLY – DO NOT SET.

ec2_key_name: Option<String>

EC2 key pair name for SSH access to EC2 instances. READ ONLY – DO NOT SET.

ec2_key_path: Option<String>

Only updated after creation. READ ONLY – DO NOT SET.

cloudformation_ec2_instance_role: Option<String>

CloudFormation stack name for EC2 instance role. READ ONLY – DO NOT SET.

cloudformation_ec2_instance_profile_arn: Option<String>

Instance profile ARN from “cloudformation_ec2_instance_role”. Only updated after creation. READ ONLY – DO NOT SET.

cloudformation_vpc: Option<String>

CloudFormation stack name for VPC. READ ONLY – DO NOT SET.

cloudformation_vpc_id: Option<String>

VPC ID from “cloudformation_vpc”. Only updated after creation. READ ONLY – DO NOT SET.

cloudformation_vpc_security_group_id: Option<String>

Security group ID from “cloudformation_vpc”. Only updated after creation. READ ONLY – DO NOT SET.

cloudformation_vpc_public_subnet_ids: Option<Vec<String>>

Public subnet IDs from “cloudformation_vpc”. Only updated after creation. READ ONLY – DO NOT SET.

cloudformation_asg_anchor_nodes: Option<String>

CloudFormation stack name of Auto Scaling Group (ASG) for anchor nodes. None if mainnet. READ ONLY – DO NOT SET.

cloudformation_asg_anchor_nodes_logical_id: Option<String>

Only updated after creation. READ ONLY – DO NOT SET.

cloudformation_asg_non_anchor_nodes: Option<String>

CloudFormation stack name of Auto Scaling Group (ASG) for non-anchor nodes. READ ONLY – DO NOT SET.

cloudformation_asg_non_anchor_nodes_logical_id: Option<String>

Only updated after creation. READ ONLY – DO NOT SET.

cloudformation_asg_nlb_arn: Option<String>

Only updated after creation. READ ONLY – DO NOT SET.

cloudformation_asg_nlb_target_group_arn: Option<String>

Only updated after creation. READ ONLY – DO NOT SET.

cloudformation_asg_nlb_dns_name: Option<String>

Only updated after creation. READ ONLY – DO NOT SET.

cloudwatch_avalanche_metrics_namespace: Option<String>

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Compare self to key and return true if they are equal.

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more