Skip to content

Instantly share code, notes, and snippets.

@grahamc grahamc/ex.py Secret
Created May 12, 2020

Embed
What would you like to do?
class ExampleOptions(nixops.resources.ResourceOptions):
# The ID of the customer gateway.
# source: nixops_aws/nix/aws-vpn-connection.nix:25
customerGatewayId: either
# Name of the AWS VPN connection.
# source: nixops_aws/nix/aws-vpn-connection.nix:11
name: str
# Indicates whether the VPN connection uses static routes only.
# Static routes must be used for devices that don't support BGP.
# source: nixops_aws/nix/aws-vpn-connection.nix:33
staticRoutesOnly: bool
# Tags assigned to the instance. Each tag name can be at most
# 128 characters, and each tag value can be at most 256
# characters. There can be at most 10 tags.
# source: nixops_aws/nix/common-ec2-options.nix:7
tags: attrsOf
# The ID of the VPN gateway.
# source: nixops_aws/nix/aws-vpn-connection.nix:17
vpnGatewayId: either
class ExampleOptions(nixops.resources.ResourceOptions):
# The IPv4 CIDR address block used for the destination match.
# source: nixops_aws/nix/aws-vpn-connection-route.nix:23
destinationCidrBlock: nullOr
# Name of the VPN connection route.
# source: nixops_aws/nix/aws-vpn-connection-route.nix:9
name: str
# The ID of the VPN connection.
# source: nixops_aws/nix/aws-vpn-connection-route.nix:15
vpnConnectionId: either
class ExampleOptions(nixops.resources.ResourceOptions):
# Name of the AWS VPN gateway.
# source: nixops_aws/nix/aws-vpn-gateway.nix:11
name: str
# Tags assigned to the instance. Each tag name can be at most
# 128 characters, and each tag value can be at most 256
# characters. There can be at most 10 tags.
# source: nixops_aws/nix/common-ec2-options.nix:7
tags: attrsOf
# The ID of the VPC where the VPN gateway will be attached.
# source: nixops_aws/nix/aws-vpn-gateway.nix:25
vpcId: either
# AWS availability zone.
# source: nixops_aws/nix/aws-vpn-gateway.nix:17
zone: str
class ExampleOptions(nixops.resources.ResourceOptions):
# The AWS Access Key ID.
# source: nixops_aws/nix/cloudwatch-log-group.nix:15
accessKeyId: str
# Amazon Resource Name (ARN) of the cloudwatch log group. This is set by NixOps.
# source: nixops_aws/nix/cloudwatch-log-group.nix:31
arn: str
# Name of the cloudwatch log group.
# source: nixops_aws/nix/cloudwatch-log-group.nix:9
name: str
# AWS region.
# source: nixops_aws/nix/cloudwatch-log-group.nix:20
region: str
# How long to store log data in a log group
# source: nixops_aws/nix/cloudwatch-log-group.nix:25
retentionInDays: nullOr
class ExampleOptions(nixops.resources.ResourceOptions):
# The AWS Access Key ID.
# source: nixops_aws/nix/cloudwatch-log-stream.nix:15
accessKeyId: str
# Amazon Resource Name (ARN) of the cloudwatch log stream. This is set by NixOps.
# source: nixops_aws/nix/cloudwatch-log-stream.nix:30
arn: str
# The name of the log group under which the log stream is to be created.
# source: nixops_aws/nix/cloudwatch-log-stream.nix:25
logGroupName: str
# Name of the cloudwatch log stream.
# source: nixops_aws/nix/cloudwatch-log-stream.nix:9
name: str
# AWS region.
# source: nixops_aws/nix/cloudwatch-log-stream.nix:20
region: str
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.