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
- resName :: HasResName s a => Lens' s a
- properties :: HasProperties s a => Lens' s a
- deletionPolicy :: HasDeletionPolicy s a => Lens' s a
- resCreationPolicy :: HasResCreationPolicy s a => Lens' s a
- resUpdatePolicy :: HasResUpdatePolicy s a => Lens' s a
- dependsOn :: HasDependsOn s a => Lens' s a
- data ResourceProperties
- = AccessKeyProperties AccessKey
- | ApiGatewayAccountProperties ApiGatewayAccount
- | ApiGatewayDeploymentProperties ApiGatewayDeployment
- | ApiGatewayMethodProperties ApiGatewayMethod
- | ApiGatewayModelProperties ApiGatewayModel
- | ApiGatewayResourceProperties ApiGatewayResource
- | ApiGatewayRestApiProperties ApiGatewayRestApi
- | ApiGatewayStageProperties ApiGatewayStage
- | ApiGatewayUsagePlanProperties ApiGatewayUsagePlan
- | AutoScalingGroupProperties AutoScalingGroup
- | BucketProperties Bucket
- | CacheClusterProperties CacheCluster
- | CacheSubnetGroupProperties CacheSubnetGroup
- | DBInstanceProperties DBInstance
- | DBParameterGroupProperties DBParameterGroup
- | DBSecurityGroupProperties DBSecurityGroup
- | DBSecurityGroupIngressProperties DBSecurityGroupIngress
- | DBSubnetGroupProperties DBSubnetGroup
- | DeliveryStreamProperties DeliveryStream
- | DynamoDBTableProperties DynamoDBTable
- | EC2InstanceProperties EC2Instance
- | EIPProperties EIP
- | EIPAssociationProperties EIPAssociation
- | EventsRuleProperties EventsRule
- | GroupProperties Group
- | IAMRoleProperties IAMRole
- | InstanceProfileProperties InstanceProfile
- | InternetGatewayProperties InternetGateway
- | KinesisStreamProperties KinesisStream
- | LambdaAliasProperties LambdaAlias
- | LambdaFunctionProperties LambdaFunction
- | LambdaPermissionProperties LambdaPermission
- | LambdaVersionProperties LambdaVersion
- | LaunchConfigurationProperties LaunchConfiguration
- | LifecycleHookProperties LifecycleHook
- | LoadBalancerProperties LoadBalancer
- | LogGroupProperties LogGroup
- | LogStreamProperties LogStream
- | ManagedPolicyProperties ManagedPolicy
- | NatGatewayProperties NatGateway
- | PolicyProperties Policy
- | RecordSetProperties RecordSet
- | RecordSetGroupProperties RecordSetGroup
- | RouteProperties Route
- | RouteTableProperties RouteTable
- | S3BucketPolicyProperties S3BucketPolicy
- | SNSSubscriptionProperties SNSSubscription
- | SNSTopicProperties SNSTopic
- | SNSTopicPolicyProperties SNSTopicPolicy
- | SQSQueueProperties SQSQueue
- | SQSQueuePolicyProperties SQSQueuePolicy
- | ScalingPolicyProperties ScalingPolicy
- | ScheduledActionProperties ScheduledAction
- | SecurityGroupProperties SecurityGroup
- | SecurityGroupEgressProperties SecurityGroupEgress
- | SecurityGroupIngressProperties SecurityGroupIngress
- | StackProperties Stack
- | SubnetProperties Subnet
- | SubnetRouteTableAssociationProperties SubnetRouteTableAssociation
- | TrailProperties Trail
- | UserProperties User
- | UserToGroupAdditionProperties UserToGroupAddition
- | VPCProperties VPC
- | VPCEndpointProperties VPCEndpoint
- | VPCGatewayAttachmentProperties VPCGatewayAttachment
- | VolumeProperties Volume
- | 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 #
resCreationPolicy :: HasResCreationPolicy s a => Lens' s a Source #
resUpdatePolicy :: HasResUpdatePolicy s a => Lens' s a Source #
data ResourceProperties Source #
data DeletionPolicy Source #