AWS2::ResDef type
Direct parent types
- ResDef
Abstract resource definition Direct subtypes: 2
Direct children types
- AWS2::Vpc
Undocumented
- AWS2::Igw
Undocumented
- AWS2::RouteTable
Undocumented
- AWS2::SecGroup
Undocumented
- AWS2::Subnet
Declarative primitive for referencing AWS Subnet resources. Supported anchor items: VpcId (required for creation), Tags, CidrBlock (required for creation), AvailabilityZone. Supported properties: Tags.
- AWS2::Image
Declarative primitive for referencing AWS AMI resources. Supported anchor items: State (defaults to "available"), OwnerId, Name (Str or Pfx), RootDeviceType, VirtualizationType (defaults to hvm), VolumeType, ImageId. Supported properties: (not supported yet).
- AWS2::Instance
Declarative primitive for referencing AWS Instance resources. Supported anchor items: VpcId, State (defaults to pending and running, pass "*" for all states except shutting-down and terminated, pass null for all states), InstanceId, ImageId (required for creation), KeyName, SubnetId, InstanceType, PublicIpAddress (Bool), PrivateIpAddresses, UserData Supported properties: Tags, SecurityGroups, State (running/stopped), SourceDestCheck.
- AWS2::Elb
Declarative primitive for referencing AWS Elastic Load Balancer resources. Supported anchor items: LoadBalancerName, Name (required for creation, synthetic, probably will be removed), Tags, ListenerDescriptions (can not be used for lookup but required for creation), Subnets (can not be used for lookup but required for creation), AvailabilityZones (not implemented yet). Supported properties: Tags, Instances, SecurityGroups, ListenerDescriptions
- AWS2::Zone
Declarative primitive for referencing AWS Route53 hosted zones resources. Supported anchor items: Name.
- AWS2::RecordSet
Declarative primitive for referencing AWS Route53 RecordSet resources. Supported anchor items: Name, ZoneName (in future _ZoneName), Type, SetIdentifier, Region. Supported properties (not sure): Type, SetIdentifier, Region.
- AWS2::Az
Undocumented
- AWS2::Volume
Declarative primitive for referencing AWS EC2 Volumes. Supported anchor items: VolumeId, _InstanceId, State, SnapshotId, Tags, AvailabilityZone, VolumeType, Size Supported properties: (converge is not implemented yet). Resources are listed in 'CreateTime' order.
- AWS2::Snapshot
Declarative primitive for referencing AWS EC2 Snapshot resources. Supported anchor items: Tags, Description, OwnerId, OwnerIds, SnapshotId, State, VolumeId, VolumeSize, _AMI (extracted from Description "Created by CreateImage ...") Supported properties: (converge is not implemented yet). Warning: Owner ids starting with zero must be passed as strings.
- AWS2::Eip
Undocumented
- AWS2::Bucket
Undocumented
- AWS2::Certificate
Undocumented
- AWS2::Distribution
Undocumented
- AWS2::Any (_Any)
EXPERIMENTAL! Do not use!
Methods
- create(rd:AWS2::ResDef, **orig_props:Hash)
Undocumented
- find(rd:AWS2::ResDef)
Undocumented
- init(rd:AWS2::ResDef, **kw:Hash)
Initialize ResDef from kw. Defaults: null for ._Region and empty hash for .Tags
- init(rd:AWS2::ResDef, _ngs_tags:Hash)
Initialize ResDef from _ngs_tags. Sets ._Region to null and .Tags to _ngs_tags.
- run(rd:AWS2::ResDef, log_pfx:Str, cp:CommandsPipeline, do_decode:Any=true)internal
Run an external command related to the resource definition. Will not run the command if rd.dry_run is true. Parameters
do_decode Whether to decode the output Returns
Either parsed output or finished CommandsPipeline (processes in CommandsPipeline finished)