Safe Haskell | None |
---|---|
Language | Haskell2010 |
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resources-section-structure.html
The required Resources section declare the AWS resources that you want as part of your stack, such as an Amazon EC2 instance or an Amazon S3 bucket. You must declare each resource separately; however, you can specify multiple resources of the same type. If you declare multiple resources, separate them with commas.
- data Resource = Resource {}
- resource :: Text -> ResourceProperties -> Resource
- properties :: HasProperties s a => Lens' s a
- deletionPolicy :: HasDeletionPolicy s a => Lens' s a
- data ResourceProperties
- = DBSecurityGroupIngressProperties DBSecurityGroupIngress
- | SubnetProperties Subnet
- | DBInstanceProperties DBInstance
- | IAMRoleProperties IAMRole
- | GroupProperties Group
- | DBSubnetGroupProperties DBSubnetGroup
- | SecurityGroupProperties SecurityGroup
- | DBParameterGroupProperties DBParameterGroup
- | PolicyProperties Policy
- | EC2InstanceProperties EC2Instance
- | RouteTableProperties RouteTable
- | EIPAssociationProperties EIPAssociation
- | InternetGatewayProperties InternetGateway
- | InstanceProfileProperties InstanceProfile
- | VPCGatewayAttachmentProperties VPCGatewayAttachment
- | EIPProperties EIP
- | UserProperties User
- | DBSecurityGroupProperties DBSecurityGroup
- | SubnetRouteTableAssociationProperties SubnetRouteTableAssociation
- | RecordSetGroupProperties RecordSetGroup
- | StackProperties Stack
- | ManagedPolicyProperties ManagedPolicy
- | VPCProperties VPC
- | AccessKeyProperties AccessKey
- | LoadBalancerProperties LoadBalancer
- | VolumeProperties Volume
- | UserToGroupAdditionProperties UserToGroupAddition
- | VPCEndpointProperties VPCEndpoint
- | RecordSetProperties RecordSet
- | RouteProperties Route
- | NatGatewayProperties NatGateway
- | VolumeAttachmentProperties VolumeAttachment
- data DeletionPolicy
- newtype Resources = Resources {
- unResources :: [Resource]
Documentation
:: Text | Logical name |
-> ResourceProperties | |
-> Resource |
Convenient constructor for Resource
with required arguments.
properties :: HasProperties s a => Lens' s a Source
deletionPolicy :: HasDeletionPolicy s a => Lens' s a Source
data ResourceProperties Source
data DeletionPolicy Source