@awboost/cfn-resource-types 0.1.20 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/AWS-AppSync-Resolver.d.ts +46 -29
- package/lib/AWS-AppSync-Resolver.js +3 -1
- package/lib/AWS-CodePipeline-Pipeline.d.ts +29 -0
- package/lib/AWS-Cognito-UserPoolRiskConfigurationAttachment.d.ts +1 -8
- package/lib/AWS-EC2-PrefixList.d.ts +1 -1
- package/lib/AWS-EC2-Subnet.d.ts +6 -0
- package/lib/AWS-EC2-SubnetRouteTableAssociation.d.ts +11 -2
- package/lib/AWS-EC2-SubnetRouteTableAssociation.js +2 -1
- package/lib/AWS-Route53-RecordSet.d.ts +19 -0
- package/lib/AWS-Route53-RecordSetGroup.d.ts +19 -0
- package/lib/AWS-S3-BucketPolicy.d.ts +15 -3
- package/lib/AWS-S3-BucketPolicy.js +7 -1
- package/lib/AWS-SSM-Document.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* The ``AWS::AppSync::Resolver`` resource defines the logical GraphQL resolver that you attach to fields in a schema. Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see [Resolver Mapping Template Reference](https://docs.aws.amazon.com/appsync/latest/devguide/resolver-mapping-template-reference.html).
|
|
5
|
+
When you submit an update, CFNLong updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CFNshort template. Changing the S3 file content without changing a property value will not result in an update operation.
|
|
6
|
+
See [Update Behaviors of Stack Resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html) in the *User Guide*.
|
|
5
7
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html}
|
|
6
8
|
*/
|
|
7
9
|
export type AppSyncResolverProperties = {
|
|
8
10
|
/**
|
|
9
|
-
* The
|
|
11
|
+
* The APSYlong GraphQL API to which you want to attach this resolver.
|
|
10
12
|
*/
|
|
11
13
|
ApiId: string;
|
|
12
14
|
/**
|
|
@@ -14,7 +16,7 @@ export type AppSyncResolverProperties = {
|
|
|
14
16
|
*/
|
|
15
17
|
CachingConfig?: CachingConfig;
|
|
16
18
|
/**
|
|
17
|
-
* The resolver code that contains the request and response functions. When code is used, the runtime is required.
|
|
19
|
+
* The ``resolver`` code that contains the request and response functions. When code is used, the ``runtime`` is required. The runtime value must be ``APPSYNC_JS``.
|
|
18
20
|
*/
|
|
19
21
|
Code?: string;
|
|
20
22
|
/**
|
|
@@ -30,11 +32,13 @@ export type AppSyncResolverProperties = {
|
|
|
30
32
|
*/
|
|
31
33
|
FieldName: string;
|
|
32
34
|
/**
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
* The resolver type.
|
|
36
|
+
+ *UNIT*: A UNIT resolver type. A UNIT resolver is the default resolver type. You can use a UNIT resolver to run a GraphQL query against a single data source.
|
|
37
|
+
+ *PIPELINE*: A PIPELINE resolver type. You can use a PIPELINE resolver to invoke a series of ``Function`` objects in a serial manner. You can use a pipeline resolver to run a GraphQL query against multiple data sources.
|
|
38
|
+
*/
|
|
35
39
|
Kind?: string;
|
|
36
40
|
/**
|
|
37
|
-
* The maximum number of resolver request inputs that will be sent to a single
|
|
41
|
+
* The maximum number of resolver request inputs that will be sent to a single LAMlong function in a ``BatchInvoke`` operation.
|
|
38
42
|
*/
|
|
39
43
|
MaxBatchSize?: number;
|
|
40
44
|
/**
|
|
@@ -42,11 +46,12 @@ export type AppSyncResolverProperties = {
|
|
|
42
46
|
*/
|
|
43
47
|
PipelineConfig?: PipelineConfig;
|
|
44
48
|
/**
|
|
45
|
-
|
|
46
|
-
|
|
49
|
+
* The request mapping template.
|
|
50
|
+
Request mapping templates are optional when using a Lambda data source. For all other data sources, a request mapping template is required.
|
|
51
|
+
*/
|
|
47
52
|
RequestMappingTemplate?: string;
|
|
48
53
|
/**
|
|
49
|
-
* The location of a request mapping template in an
|
|
54
|
+
* The location of a request mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
|
|
50
55
|
*/
|
|
51
56
|
RequestMappingTemplateS3Location?: string;
|
|
52
57
|
/**
|
|
@@ -54,15 +59,15 @@ export type AppSyncResolverProperties = {
|
|
|
54
59
|
*/
|
|
55
60
|
ResponseMappingTemplate?: string;
|
|
56
61
|
/**
|
|
57
|
-
* The location of a response mapping template in an
|
|
62
|
+
* The location of a response mapping template in an S3 bucket. Use this if you want to provision with a template file in S3 rather than embedding it in your CFNshort template.
|
|
58
63
|
*/
|
|
59
64
|
ResponseMappingTemplateS3Location?: string;
|
|
60
65
|
/**
|
|
61
|
-
* Describes a runtime used by an
|
|
66
|
+
* Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
|
|
62
67
|
*/
|
|
63
68
|
Runtime?: AppSyncRuntime;
|
|
64
69
|
/**
|
|
65
|
-
* The SyncConfig for a resolver attached to a versioned data source.
|
|
70
|
+
* The ``SyncConfig`` for a resolver attached to a versioned data source.
|
|
66
71
|
*/
|
|
67
72
|
SyncConfig?: SyncConfig;
|
|
68
73
|
/**
|
|
@@ -75,42 +80,43 @@ export type AppSyncResolverProperties = {
|
|
|
75
80
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html#aws-resource-appsync-resolver-return-values}
|
|
76
81
|
*/
|
|
77
82
|
export type AppSyncResolverAttributes = {
|
|
78
|
-
/**
|
|
79
|
-
* The Amazon Resource Name (ARN) for the resolver.
|
|
80
|
-
*/
|
|
81
83
|
ResolverArn: string;
|
|
82
84
|
};
|
|
83
85
|
/**
|
|
84
86
|
* Type definition for `AWS::AppSync::Resolver.AppSyncRuntime`.
|
|
87
|
+
* Describes a runtime used by an APSYlong resolver or APSYlong function. Specifies the name and version of the runtime to use. Note that if a runtime is specified, code must also be specified.
|
|
85
88
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-appsyncruntime.html}
|
|
86
89
|
*/
|
|
87
90
|
export type AppSyncRuntime = {
|
|
88
91
|
/**
|
|
89
|
-
* The name of the runtime to use.
|
|
92
|
+
* The ``name`` of the runtime to use. Currently, the only allowed value is ``APPSYNC_JS``.
|
|
90
93
|
*/
|
|
91
94
|
Name: string;
|
|
92
95
|
/**
|
|
93
|
-
* The version of the runtime to use.
|
|
96
|
+
* The ``version`` of the runtime to use. Currently, the only allowed version is ``1.0.0``.
|
|
94
97
|
*/
|
|
95
98
|
RuntimeVersion: string;
|
|
96
99
|
};
|
|
97
100
|
/**
|
|
98
101
|
* Type definition for `AWS::AppSync::Resolver.CachingConfig`.
|
|
102
|
+
* The caching configuration for a resolver that has caching activated.
|
|
99
103
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-cachingconfig.html}
|
|
100
104
|
*/
|
|
101
105
|
export type CachingConfig = {
|
|
102
106
|
/**
|
|
103
|
-
|
|
104
|
-
|
|
107
|
+
* The caching keys for a resolver that has caching activated.
|
|
108
|
+
Valid values are entries from the ``$context.arguments``, ``$context.source``, and ``$context.identity`` maps.
|
|
109
|
+
*/
|
|
105
110
|
CachingKeys?: string[];
|
|
106
111
|
/**
|
|
107
|
-
|
|
108
|
-
|
|
112
|
+
* The TTL in seconds for a resolver that has caching activated.
|
|
113
|
+
Valid values are 1–3,600 seconds.
|
|
114
|
+
*/
|
|
109
115
|
Ttl: number;
|
|
110
116
|
};
|
|
111
117
|
/**
|
|
112
118
|
* Type definition for `AWS::AppSync::Resolver.LambdaConflictHandlerConfig`.
|
|
113
|
-
* The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.
|
|
119
|
+
* The ``LambdaConflictHandlerConfig`` when configuring LAMBDA as the Conflict Handler.
|
|
114
120
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-lambdaconflicthandlerconfig.html}
|
|
115
121
|
*/
|
|
116
122
|
export type LambdaConflictHandlerConfig = {
|
|
@@ -121,34 +127,45 @@ export type LambdaConflictHandlerConfig = {
|
|
|
121
127
|
};
|
|
122
128
|
/**
|
|
123
129
|
* Type definition for `AWS::AppSync::Resolver.PipelineConfig`.
|
|
130
|
+
* Use the ``PipelineConfig`` property type to specify ``PipelineConfig`` for an APSYlong resolver.
|
|
131
|
+
``PipelineConfig`` is a property of the [AWS::AppSync::Resolver](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html) resource.
|
|
124
132
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-pipelineconfig.html}
|
|
125
133
|
*/
|
|
126
134
|
export type PipelineConfig = {
|
|
127
135
|
/**
|
|
128
|
-
* A list of Function objects.
|
|
136
|
+
* A list of ``Function`` objects.
|
|
129
137
|
*/
|
|
130
138
|
Functions?: string[];
|
|
131
139
|
};
|
|
132
140
|
/**
|
|
133
141
|
* Type definition for `AWS::AppSync::Resolver.SyncConfig`.
|
|
142
|
+
* Describes a Sync configuration for a resolver.
|
|
143
|
+
Specifies which Conflict Detection strategy and Resolution strategy to use when the resolver is invoked.
|
|
134
144
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appsync-resolver-syncconfig.html}
|
|
135
145
|
*/
|
|
136
146
|
export type SyncConfig = {
|
|
137
147
|
/**
|
|
138
|
-
|
|
139
|
-
|
|
148
|
+
* The Conflict Detection strategy to use.
|
|
149
|
+
+ *VERSION*: Detect conflicts based on object versions for this resolver.
|
|
150
|
+
+ *NONE*: Do not detect conflicts when invoking this resolver.
|
|
151
|
+
*/
|
|
140
152
|
ConflictDetection: string;
|
|
141
153
|
/**
|
|
142
|
-
|
|
143
|
-
|
|
154
|
+
* The Conflict Resolution strategy to perform in the event of a conflict.
|
|
155
|
+
+ *OPTIMISTIC_CONCURRENCY*: Resolve conflicts by rejecting mutations when versions don't match the latest version at the server.
|
|
156
|
+
+ *AUTOMERGE*: Resolve conflicts with the Automerge conflict resolution strategy.
|
|
157
|
+
+ *LAMBDA*: Resolve conflicts with an LAMlong function supplied in the ``LambdaConflictHandlerConfig``.
|
|
158
|
+
*/
|
|
144
159
|
ConflictHandler?: string;
|
|
145
160
|
/**
|
|
146
|
-
* The LambdaConflictHandlerConfig when configuring LAMBDA as the Conflict Handler.
|
|
161
|
+
* The ``LambdaConflictHandlerConfig`` when configuring ``LAMBDA`` as the Conflict Handler.
|
|
147
162
|
*/
|
|
148
163
|
LambdaConflictHandlerConfig?: LambdaConflictHandlerConfig;
|
|
149
164
|
};
|
|
150
165
|
/**
|
|
151
|
-
*
|
|
166
|
+
* The ``AWS::AppSync::Resolver`` resource defines the logical GraphQL resolver that you attach to fields in a schema. Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see [Resolver Mapping Template Reference](https://docs.aws.amazon.com/appsync/latest/devguide/resolver-mapping-template-reference.html).
|
|
167
|
+
When you submit an update, CFNLong updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CFNshort template. Changing the S3 file content without changing a property value will not result in an update operation.
|
|
168
|
+
See [Update Behaviors of Stack Resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html) in the *User Guide*.
|
|
152
169
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html}
|
|
153
170
|
*/
|
|
154
171
|
export declare class AppSyncResolver extends $Resource<"AWS::AppSync::Resolver", AppSyncResolverProperties, AppSyncResolverAttributes> {
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* The ``AWS::AppSync::Resolver`` resource defines the logical GraphQL resolver that you attach to fields in a schema. Request and response templates for resolvers are written in Apache Velocity Template Language (VTL) format. For more information about resolvers, see [Resolver Mapping Template Reference](https://docs.aws.amazon.com/appsync/latest/devguide/resolver-mapping-template-reference.html).
|
|
4
|
+
When you submit an update, CFNLong updates resources based on differences between what you submit and the stack's current template. To cause this resource to be updated you must change a property value for this resource in the CFNshort template. Changing the S3 file content without changing a property value will not result in an update operation.
|
|
5
|
+
See [Update Behaviors of Stack Resources](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html) in the *User Guide*.
|
|
4
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-appsync-resolver.html}
|
|
5
7
|
*/
|
|
6
8
|
export class AppSyncResolver extends $Resource {
|
|
@@ -8,6 +8,7 @@ export type CodePipelinePipelineProperties = {
|
|
|
8
8
|
ArtifactStore?: ArtifactStore;
|
|
9
9
|
ArtifactStores?: ArtifactStoreMap[];
|
|
10
10
|
DisableInboundStageTransitions?: StageTransition[];
|
|
11
|
+
ExecutionMode?: string;
|
|
11
12
|
Name?: string;
|
|
12
13
|
PipelineType?: string;
|
|
13
14
|
RestartExecutionOnUpdate?: boolean;
|
|
@@ -83,19 +84,47 @@ export type EncryptionKey = {
|
|
|
83
84
|
Id: string;
|
|
84
85
|
Type: string;
|
|
85
86
|
};
|
|
87
|
+
/**
|
|
88
|
+
* Type definition for `AWS::CodePipeline::Pipeline.GitBranchFilterCriteria`.
|
|
89
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitbranchfiltercriteria.html}
|
|
90
|
+
*/
|
|
91
|
+
export type GitBranchFilterCriteria = {
|
|
92
|
+
Excludes?: string[];
|
|
93
|
+
Includes?: string[];
|
|
94
|
+
};
|
|
86
95
|
/**
|
|
87
96
|
* Type definition for `AWS::CodePipeline::Pipeline.GitConfiguration`.
|
|
88
97
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitconfiguration.html}
|
|
89
98
|
*/
|
|
90
99
|
export type GitConfiguration = {
|
|
100
|
+
PullRequest?: GitPullRequestFilter[];
|
|
91
101
|
Push?: GitPushFilter[];
|
|
92
102
|
SourceActionName: string;
|
|
93
103
|
};
|
|
104
|
+
/**
|
|
105
|
+
* Type definition for `AWS::CodePipeline::Pipeline.GitFilePathFilterCriteria`.
|
|
106
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitfilepathfiltercriteria.html}
|
|
107
|
+
*/
|
|
108
|
+
export type GitFilePathFilterCriteria = {
|
|
109
|
+
Excludes?: string[];
|
|
110
|
+
Includes?: string[];
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Type definition for `AWS::CodePipeline::Pipeline.GitPullRequestFilter`.
|
|
114
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitpullrequestfilter.html}
|
|
115
|
+
*/
|
|
116
|
+
export type GitPullRequestFilter = {
|
|
117
|
+
Branches?: GitBranchFilterCriteria;
|
|
118
|
+
Events?: string[];
|
|
119
|
+
FilePaths?: GitFilePathFilterCriteria;
|
|
120
|
+
};
|
|
94
121
|
/**
|
|
95
122
|
* Type definition for `AWS::CodePipeline::Pipeline.GitPushFilter`.
|
|
96
123
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codepipeline-pipeline-gitpushfilter.html}
|
|
97
124
|
*/
|
|
98
125
|
export type GitPushFilter = {
|
|
126
|
+
Branches?: GitBranchFilterCriteria;
|
|
127
|
+
FilePaths?: GitFilePathFilterCriteria;
|
|
99
128
|
Tags?: GitTagFilterCriteria;
|
|
100
129
|
};
|
|
101
130
|
/**
|
|
@@ -11,13 +11,6 @@ export type CognitoUserPoolRiskConfigurationAttachmentProperties = {
|
|
|
11
11
|
RiskExceptionConfiguration?: RiskExceptionConfigurationType;
|
|
12
12
|
UserPoolId: string;
|
|
13
13
|
};
|
|
14
|
-
/**
|
|
15
|
-
* Attribute type definition for `AWS::Cognito::UserPoolRiskConfigurationAttachment`.
|
|
16
|
-
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolriskconfigurationattachment.html#aws-resource-cognito-userpoolriskconfigurationattachment-return-values}
|
|
17
|
-
*/
|
|
18
|
-
export type CognitoUserPoolRiskConfigurationAttachmentAttributes = {
|
|
19
|
-
Id: string;
|
|
20
|
-
};
|
|
21
14
|
/**
|
|
22
15
|
* Type definition for `AWS::Cognito::UserPoolRiskConfigurationAttachment.AccountTakeoverActionsType`.
|
|
23
16
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpoolriskconfigurationattachment-accounttakeoveractionstype.html}
|
|
@@ -91,7 +84,7 @@ export type RiskExceptionConfigurationType = {
|
|
|
91
84
|
* Resource Type definition for AWS::Cognito::UserPoolRiskConfigurationAttachment
|
|
92
85
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolriskconfigurationattachment.html}
|
|
93
86
|
*/
|
|
94
|
-
export declare class CognitoUserPoolRiskConfigurationAttachment extends $Resource<"AWS::Cognito::UserPoolRiskConfigurationAttachment", CognitoUserPoolRiskConfigurationAttachmentProperties,
|
|
87
|
+
export declare class CognitoUserPoolRiskConfigurationAttachment extends $Resource<"AWS::Cognito::UserPoolRiskConfigurationAttachment", CognitoUserPoolRiskConfigurationAttachmentProperties, Record<string, never>> {
|
|
95
88
|
static readonly Type = "AWS::Cognito::UserPoolRiskConfigurationAttachment";
|
|
96
89
|
constructor(logicalId: string, properties: CognitoUserPoolRiskConfigurationAttachmentProperties, options?: $ResourceOptions);
|
|
97
90
|
}
|
package/lib/AWS-EC2-Subnet.d.ts
CHANGED
|
@@ -44,7 +44,13 @@ export type EC2SubnetProperties = {
|
|
|
44
44
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnet.html#aws-resource-ec2-subnet-return-values}
|
|
45
45
|
*/
|
|
46
46
|
export type EC2SubnetAttributes = {
|
|
47
|
+
/**
|
|
48
|
+
* The ID of the network ACL that is associated with the subnet's VPC
|
|
49
|
+
*/
|
|
47
50
|
NetworkAclAssociationId: string;
|
|
51
|
+
/**
|
|
52
|
+
* The ID of the subnet
|
|
53
|
+
*/
|
|
48
54
|
SubnetId: string;
|
|
49
55
|
};
|
|
50
56
|
/**
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
|
-
* Resource
|
|
4
|
+
* Resource type definition for `AWS::EC2::SubnetRouteTableAssociation`.
|
|
5
|
+
* Associates a subnet with a route table. The subnet and route table must be in the same VPC. This association causes traffic originating from the subnet to be routed according to the routes in the route table. A route table can be associated with multiple subnets. To create a route table, see [AWS::EC2::RouteTable](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-routetable.html).
|
|
5
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetroutetableassociation.html}
|
|
6
7
|
*/
|
|
7
8
|
export type EC2SubnetRouteTableAssociationProperties = {
|
|
9
|
+
/**
|
|
10
|
+
* The ID of the route table.
|
|
11
|
+
The physical ID changes when the route table ID is changed.
|
|
12
|
+
*/
|
|
8
13
|
RouteTableId: string;
|
|
14
|
+
/**
|
|
15
|
+
* The ID of the subnet.
|
|
16
|
+
*/
|
|
9
17
|
SubnetId: string;
|
|
10
18
|
};
|
|
11
19
|
/**
|
|
@@ -16,7 +24,8 @@ export type EC2SubnetRouteTableAssociationAttributes = {
|
|
|
16
24
|
Id: string;
|
|
17
25
|
};
|
|
18
26
|
/**
|
|
19
|
-
* Resource
|
|
27
|
+
* Resource type definition for `AWS::EC2::SubnetRouteTableAssociation`.
|
|
28
|
+
* Associates a subnet with a route table. The subnet and route table must be in the same VPC. This association causes traffic originating from the subnet to be routed according to the routes in the route table. A route table can be associated with multiple subnets. To create a route table, see [AWS::EC2::RouteTable](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-routetable.html).
|
|
20
29
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetroutetableassociation.html}
|
|
21
30
|
*/
|
|
22
31
|
export declare class EC2SubnetRouteTableAssociation extends $Resource<"AWS::EC2::SubnetRouteTableAssociation", EC2SubnetRouteTableAssociationProperties, EC2SubnetRouteTableAssociationAttributes> {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
* Resource
|
|
3
|
+
* Resource type definition for `AWS::EC2::SubnetRouteTableAssociation`.
|
|
4
|
+
* Associates a subnet with a route table. The subnet and route table must be in the same VPC. This association causes traffic originating from the subnet to be routed according to the routes in the route table. A route table can be associated with multiple subnets. To create a route table, see [AWS::EC2::RouteTable](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-routetable.html).
|
|
4
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-subnetroutetableassociation.html}
|
|
5
6
|
*/
|
|
6
7
|
export class EC2SubnetRouteTableAssociation extends $Resource {
|
|
@@ -10,6 +10,7 @@ export type Route53RecordSetProperties = {
|
|
|
10
10
|
Comment?: string;
|
|
11
11
|
Failover?: string;
|
|
12
12
|
GeoLocation?: GeoLocation;
|
|
13
|
+
GeoProximityLocation?: GeoProximityLocation;
|
|
13
14
|
HealthCheckId?: string;
|
|
14
15
|
HostedZoneId?: string;
|
|
15
16
|
HostedZoneName?: string;
|
|
@@ -46,6 +47,14 @@ export type CidrRoutingConfig = {
|
|
|
46
47
|
CollectionId: string;
|
|
47
48
|
LocationName: string;
|
|
48
49
|
};
|
|
50
|
+
/**
|
|
51
|
+
* Type definition for `AWS::Route53::RecordSet.Coordinates`.
|
|
52
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-coordinates.html}
|
|
53
|
+
*/
|
|
54
|
+
export type Coordinates = {
|
|
55
|
+
Latitude: string;
|
|
56
|
+
Longitude: string;
|
|
57
|
+
};
|
|
49
58
|
/**
|
|
50
59
|
* Type definition for `AWS::Route53::RecordSet.GeoLocation`.
|
|
51
60
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-geolocation.html}
|
|
@@ -55,6 +64,16 @@ export type GeoLocation = {
|
|
|
55
64
|
CountryCode?: string;
|
|
56
65
|
SubdivisionCode?: string;
|
|
57
66
|
};
|
|
67
|
+
/**
|
|
68
|
+
* Type definition for `AWS::Route53::RecordSet.GeoProximityLocation`.
|
|
69
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset-geoproximitylocation.html}
|
|
70
|
+
*/
|
|
71
|
+
export type GeoProximityLocation = {
|
|
72
|
+
AWSRegion?: string;
|
|
73
|
+
Bias?: number;
|
|
74
|
+
Coordinates?: Coordinates;
|
|
75
|
+
LocalZoneGroup?: string;
|
|
76
|
+
};
|
|
58
77
|
/**
|
|
59
78
|
* Resource Type definition for AWS::Route53::RecordSet
|
|
60
79
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-recordset.html}
|
|
@@ -34,6 +34,14 @@ export type CidrRoutingConfig = {
|
|
|
34
34
|
CollectionId: string;
|
|
35
35
|
LocationName: string;
|
|
36
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* Type definition for `AWS::Route53::RecordSetGroup.Coordinates`.
|
|
39
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordsetgroup-coordinates.html}
|
|
40
|
+
*/
|
|
41
|
+
export type Coordinates = {
|
|
42
|
+
Latitude: string;
|
|
43
|
+
Longitude: string;
|
|
44
|
+
};
|
|
37
45
|
/**
|
|
38
46
|
* Type definition for `AWS::Route53::RecordSetGroup.GeoLocation`.
|
|
39
47
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordsetgroup-geolocation.html}
|
|
@@ -43,6 +51,16 @@ export type GeoLocation = {
|
|
|
43
51
|
CountryCode?: string;
|
|
44
52
|
SubdivisionCode?: string;
|
|
45
53
|
};
|
|
54
|
+
/**
|
|
55
|
+
* Type definition for `AWS::Route53::RecordSetGroup.GeoProximityLocation`.
|
|
56
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordsetgroup-geoproximitylocation.html}
|
|
57
|
+
*/
|
|
58
|
+
export type GeoProximityLocation = {
|
|
59
|
+
AWSRegion?: string;
|
|
60
|
+
Bias?: number;
|
|
61
|
+
Coordinates?: Coordinates;
|
|
62
|
+
LocalZoneGroup?: string;
|
|
63
|
+
};
|
|
46
64
|
/**
|
|
47
65
|
* Type definition for `AWS::Route53::RecordSetGroup.RecordSet`.
|
|
48
66
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordsetgroup-recordset.html}
|
|
@@ -52,6 +70,7 @@ export type RecordSet = {
|
|
|
52
70
|
CidrRoutingConfig?: CidrRoutingConfig;
|
|
53
71
|
Failover?: string;
|
|
54
72
|
GeoLocation?: GeoLocation;
|
|
73
|
+
GeoProximityLocation?: GeoProximityLocation;
|
|
55
74
|
HealthCheckId?: string;
|
|
56
75
|
HostedZoneId?: string;
|
|
57
76
|
HostedZoneName?: string;
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
import type { ResourceOptions as $ResourceOptions } from "@awboost/cfn-template-builder/template";
|
|
3
3
|
/**
|
|
4
|
-
* Resource
|
|
4
|
+
* Resource type definition for `AWS::S3::BucketPolicy`.
|
|
5
|
+
* Applies an Amazon S3 bucket policy to an Amazon S3 bucket. If you are using an identity other than the root user of the AWS-account that owns the bucket, the calling identity must have the ``PutBucketPolicy`` permissions on the specified bucket and belong to the bucket owner's account in order to use this operation.
|
|
6
|
+
If you don't have ``PutBucketPolicy`` permissions, Amazon S3 returns a ``403 Access Denied`` error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a ``405 Method Not Allowed`` error.
|
|
7
|
+
As a security precaution, the root user of the AWS-account that owns a bucket can always use this operation, even if the policy explicitly denies the root user the ability to perform this action.
|
|
8
|
+
For more information, see [Bucket policy examples](https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html).
|
|
9
|
+
The following operations are related to ``PutBucketPolicy``:
|
|
10
|
+
+ [Create
|
|
5
11
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucketpolicy.html}
|
|
6
12
|
*/
|
|
7
13
|
export type S3BucketPolicyProperties = {
|
|
@@ -10,12 +16,18 @@ export type S3BucketPolicyProperties = {
|
|
|
10
16
|
*/
|
|
11
17
|
Bucket: string;
|
|
12
18
|
/**
|
|
13
|
-
* A policy document containing permissions to add to the specified bucket. In IAM, you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM.
|
|
19
|
+
* A policy document containing permissions to add to the specified bucket. In IAM, you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM. For more information, see the AWS::IAM::Policy [PolicyDocument](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html#cfn-iam-policy-policydocument) resource description in this guide and [Access Policy Language Overview](https://docs.aws.amazon.com/AmazonS3/latest/dev/access-policy-language-overview.html) in the *Amazon S3 User Guide*.
|
|
14
20
|
*/
|
|
15
21
|
PolicyDocument: Record<string, any> | string;
|
|
16
22
|
};
|
|
17
23
|
/**
|
|
18
|
-
* Resource
|
|
24
|
+
* Resource type definition for `AWS::S3::BucketPolicy`.
|
|
25
|
+
* Applies an Amazon S3 bucket policy to an Amazon S3 bucket. If you are using an identity other than the root user of the AWS-account that owns the bucket, the calling identity must have the ``PutBucketPolicy`` permissions on the specified bucket and belong to the bucket owner's account in order to use this operation.
|
|
26
|
+
If you don't have ``PutBucketPolicy`` permissions, Amazon S3 returns a ``403 Access Denied`` error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a ``405 Method Not Allowed`` error.
|
|
27
|
+
As a security precaution, the root user of the AWS-account that owns a bucket can always use this operation, even if the policy explicitly denies the root user the ability to perform this action.
|
|
28
|
+
For more information, see [Bucket policy examples](https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html).
|
|
29
|
+
The following operations are related to ``PutBucketPolicy``:
|
|
30
|
+
+ [Create
|
|
19
31
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucketpolicy.html}
|
|
20
32
|
*/
|
|
21
33
|
export declare class S3BucketPolicy extends $Resource<"AWS::S3::BucketPolicy", S3BucketPolicyProperties, Record<string, never>> {
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { Resource as $Resource } from "@awboost/cfn-template-builder/template/resource";
|
|
2
2
|
/**
|
|
3
|
-
* Resource
|
|
3
|
+
* Resource type definition for `AWS::S3::BucketPolicy`.
|
|
4
|
+
* Applies an Amazon S3 bucket policy to an Amazon S3 bucket. If you are using an identity other than the root user of the AWS-account that owns the bucket, the calling identity must have the ``PutBucketPolicy`` permissions on the specified bucket and belong to the bucket owner's account in order to use this operation.
|
|
5
|
+
If you don't have ``PutBucketPolicy`` permissions, Amazon S3 returns a ``403 Access Denied`` error. If you have the correct permissions, but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a ``405 Method Not Allowed`` error.
|
|
6
|
+
As a security precaution, the root user of the AWS-account that owns a bucket can always use this operation, even if the policy explicitly denies the root user the ability to perform this action.
|
|
7
|
+
For more information, see [Bucket policy examples](https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html).
|
|
8
|
+
The following operations are related to ``PutBucketPolicy``:
|
|
9
|
+
+ [Create
|
|
4
10
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucketpolicy.html}
|
|
5
11
|
*/
|
|
6
12
|
export class S3BucketPolicy extends $Resource {
|
|
@@ -22,7 +22,7 @@ export type SSMDocumentProperties = {
|
|
|
22
22
|
/**
|
|
23
23
|
* The type of document to create.
|
|
24
24
|
*/
|
|
25
|
-
DocumentType?: "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "Automation" | "Automation.ChangeTemplate" | "ChangeCalendar" | "CloudFormation" | "Command" | "DeploymentStrategy" | "Package" | "Policy" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "Session"
|
|
25
|
+
DocumentType?: "ApplicationConfiguration" | "ApplicationConfigurationSchema" | "Automation" | "Automation.ChangeTemplate" | "ChangeCalendar" | "CloudFormation" | "Command" | "DeploymentStrategy" | "Package" | "Policy" | "ProblemAnalysis" | "ProblemAnalysisTemplate" | "Session";
|
|
26
26
|
/**
|
|
27
27
|
* A name for the Systems Manager document.
|
|
28
28
|
* @pattern `^[a-zA-Z0-9_\-.]{3,128}$`
|