Struct avalanche_ops::aws::spec::Resources
source · pub struct Resources {Show 26 fields
pub identity: Option<Identity>,
pub region: String,
pub s3_bucket: String,
pub nlb_acm_certificate_arn: Option<String>,
pub kms_cmk_symmetric_default_encrypt_key: Option<KmsCmk>,
pub ec2_key_name: String,
pub ec2_key_path: 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<Vec<String>>,
pub cloudformation_asg_anchor_nodes_logical_ids: Option<Vec<String>>,
pub cloudformation_asg_non_anchor_nodes: Option<Vec<String>>,
pub cloudformation_asg_non_anchor_nodes_logical_ids: Option<Vec<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 cloudformation_asg_launch_template_id: Option<String>,
pub cloudformation_asg_launch_template_version: Option<String>,
pub cloudformation_ssm_install_subnet_chain: Option<String>,
pub cloudwatch_avalanche_metrics_namespace: Option<String>,
pub created_nodes: Option<Vec<Node>>,
pub created_endpoints: Option<Endpoints>,
}Expand description
Represents the current AWS resource status.
Fields§
§identity: Option<Identity>AWS STS caller loaded from its local environment. READ ONLY.
region: StringAWS region to create resources. MUST BE NON-EMPTY.
s3_bucket: StringName 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.
nlb_acm_certificate_arn: Option<String>AWS region to create resources. NON-EMPTY TO ENABLE HTTPS over NLB.
kms_cmk_symmetric_default_encrypt_key: Option<KmsCmk>KMS CMK ID to encrypt resources. Only used for encrypting node certs and EC2 keys. None if not created yet. READ ONLY – DO NOT SET. TODO: support existing key and load the ARN based on region and account number.
ec2_key_name: StringEC2 key pair name for SSH access to EC2 instances. READ ONLY – DO NOT SET.
ec2_key_path: String§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<Vec<String>>CloudFormation stack names of Auto Scaling Group (ASG) for anchor nodes. None if mainnet. READ ONLY – DO NOT SET.
cloudformation_asg_anchor_nodes_logical_ids: Option<Vec<String>>Only updated after creation. READ ONLY – DO NOT SET.
cloudformation_asg_non_anchor_nodes: Option<Vec<String>>CloudFormation stack names of Auto Scaling Group (ASG) for non-anchor nodes. READ ONLY – DO NOT SET.
cloudformation_asg_non_anchor_nodes_logical_ids: Option<Vec<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.
cloudformation_asg_launch_template_id: Option<String>Only updated after creation. READ ONLY – DO NOT SET.
cloudformation_asg_launch_template_version: Option<String>Only updated after creation. READ ONLY – DO NOT SET.
cloudformation_ssm_install_subnet_chain: Option<String>CloudFormation stack name for SSM document that installs subnet. READ ONLY – DO NOT SET.
cloudwatch_avalanche_metrics_namespace: Option<String>§created_nodes: Option<Vec<Node>>Created nodes at the start of the network. May become stale.
created_endpoints: Option<Endpoints>Created endpoints at the start of the network. May become stale.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Resources
impl<'de> Deserialize<'de> for Resources
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
source§impl PartialEq<Resources> for Resources
impl PartialEq<Resources> for Resources
impl Eq for Resources
impl StructuralEq for Resources
impl StructuralPartialEq for Resources
Auto Trait Implementations§
impl RefUnwindSafe for Resources
impl Send for Resources
impl Sync for Resources
impl Unpin for Resources
impl UnwindSafe for Resources
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.