@awboost/cfn-resource-types 0.1.29 → 0.1.30
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-Amplify-Domain.d.ts +29 -0
- package/lib/AWS-IAM-Policy.d.ts +36 -17
- package/lib/AWS-IAM-Policy.js +7 -1
- package/lib/AWS-KinesisFirehose-DeliveryStream.d.ts +12 -1
- package/lib/AWS-Route53Resolver-ResolverRuleAssociation.d.ts +5 -6
- package/lib/AWS-Route53Resolver-ResolverRuleAssociation.js +2 -1
- package/package.json +1 -1
|
@@ -17,6 +17,8 @@ export type AmplifyDomainProperties = {
|
|
|
17
17
|
* @pattern `^$|^arn:.+:iam::\d{12}:role.+`
|
|
18
18
|
*/
|
|
19
19
|
AutoSubDomainIAMRole?: string;
|
|
20
|
+
Certificate?: Certificate;
|
|
21
|
+
CertificateSettings?: CertificateSettings;
|
|
20
22
|
/**
|
|
21
23
|
* @maxLength `255`
|
|
22
24
|
* @pattern `^(((?!-)[A-Za-z0-9-]{0,62}[A-Za-z0-9])\.)+((?!-)[A-Za-z0-9-]{1,62}[A-Za-z0-9])(\.)?$`
|
|
@@ -27,6 +29,7 @@ export type AmplifyDomainProperties = {
|
|
|
27
29
|
* @maxLength `255`
|
|
28
30
|
*/
|
|
29
31
|
SubDomainSettings: SubDomainSetting[];
|
|
32
|
+
UpdateStatus?: string;
|
|
30
33
|
};
|
|
31
34
|
/**
|
|
32
35
|
* Attribute type definition for `AWS::Amplify::Domain`.
|
|
@@ -48,6 +51,32 @@ export type AmplifyDomainAttributes = {
|
|
|
48
51
|
*/
|
|
49
52
|
StatusReason: string;
|
|
50
53
|
};
|
|
54
|
+
/**
|
|
55
|
+
* Type definition for `AWS::Amplify::Domain.Certificate`.
|
|
56
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-domain-certificate.html}
|
|
57
|
+
*/
|
|
58
|
+
export type Certificate = {
|
|
59
|
+
/**
|
|
60
|
+
* @pattern `"^arn:aws:acm:[a-z0-9-]+:\d{12}:certificate\/.+$"`
|
|
61
|
+
*/
|
|
62
|
+
CertificateArn?: string;
|
|
63
|
+
CertificateType?: "AMPLIFY_MANAGED" | "CUSTOM";
|
|
64
|
+
/**
|
|
65
|
+
* @maxLength `1000`
|
|
66
|
+
*/
|
|
67
|
+
CertificateVerificationDNSRecord?: string;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Type definition for `AWS::Amplify::Domain.CertificateSettings`.
|
|
71
|
+
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-domain-certificatesettings.html}
|
|
72
|
+
*/
|
|
73
|
+
export type CertificateSettings = {
|
|
74
|
+
CertificateType?: "AMPLIFY_MANAGED" | "CUSTOM";
|
|
75
|
+
/**
|
|
76
|
+
* @pattern `"^arn:aws:acm:[a-z0-9-]+:\d{12}:certificate\/.+$"`
|
|
77
|
+
*/
|
|
78
|
+
CustomCertificateArn?: string;
|
|
79
|
+
};
|
|
51
80
|
/**
|
|
52
81
|
* Type definition for `AWS::Amplify::Domain.SubDomainSetting`.
|
|
53
82
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplify-domain-subdomainsetting.html}
|
package/lib/AWS-IAM-Policy.d.ts
CHANGED
|
@@ -1,31 +1,47 @@
|
|
|
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::IAM::Policy`.
|
|
5
|
+
* Adds or updates an inline policy document that is embedded in the specified IAM group, user or role.
|
|
6
|
+
An IAM user can also have a managed policy attached to it. For information about policies, see [Managed Policies and Inline Policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *User Guide*.
|
|
7
|
+
The Groups, Roles, and Users properties are optional. However, you must specify at least one of these properties.
|
|
8
|
+
For information about policy documents see [Creating policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_create.html) in the *User Guide*.
|
|
9
|
+
For information about limits on the number of inline policies that you can embed in an identity, see [Limitations on Entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html) in the *User Guide*.
|
|
10
|
+
This resource does not support [drift detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). The following
|
|
5
11
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html}
|
|
6
12
|
*/
|
|
7
13
|
export type IAMPolicyProperties = {
|
|
8
14
|
/**
|
|
9
|
-
|
|
10
|
-
|
|
15
|
+
* The name of the group to associate the policy with.
|
|
16
|
+
This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-.
|
|
17
|
+
*/
|
|
11
18
|
Groups?: string[];
|
|
12
19
|
/**
|
|
13
|
-
|
|
14
|
-
|
|
20
|
+
* The policy document.
|
|
21
|
+
You must provide policies in JSON format in IAM. However, for CFN templates formatted in YAML, you can provide the policy in JSON or YAML format. CFN always converts a YAML policy to JSON format before submitting it to IAM.
|
|
22
|
+
The [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex) used to validate this parameter is a string of characters consisting of the following:
|
|
23
|
+
+ Any printable ASCII character ranging from the space character (``\u0020``) through the end of the ASCII character range
|
|
24
|
+
+ The printable characters in the Basic Latin and Latin-1 Supplement character set (through ``\u00FF``)
|
|
25
|
+
+ The special characters tab (``\u0009``), line feed (``\u000A``), and carriage return (``\u000D``)
|
|
26
|
+
*/
|
|
15
27
|
PolicyDocument: Record<string, any> | string;
|
|
16
28
|
/**
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
29
|
+
* The name of the policy document.
|
|
30
|
+
This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
|
|
31
|
+
* @minLength `1`
|
|
32
|
+
* @maxLength `128`
|
|
33
|
+
*/
|
|
21
34
|
PolicyName: string;
|
|
22
35
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
36
|
+
* The name of the role to associate the policy with.
|
|
37
|
+
This parameter allows (per its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
|
|
38
|
+
If an external policy (such as ``AWS::IAM::Policy`` or ``AWS::IAM::ManagedPolicy``) has a ``Ref`` to a role and if a resource (such as ``AWS::ECS::Service``) also has a ``Ref`` to the same role, add a ``DependsOn`` attribute to the resource to make the resource depend on the external policy. This dependency ensures that the role's policy is available throughout the resource's lifecycle. For example, when you delete a stack with an ``AWS::ECS::Service`` resource, the ``DependsOn`` attribute ensures that CFN deletes the ``AWS::ECS::Service`` resource before deleting its role's policy.
|
|
39
|
+
*/
|
|
25
40
|
Roles?: string[];
|
|
26
41
|
/**
|
|
27
|
-
|
|
28
|
-
|
|
42
|
+
* The name of the user to associate the policy with.
|
|
43
|
+
This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex)) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
|
|
44
|
+
*/
|
|
29
45
|
Users?: string[];
|
|
30
46
|
};
|
|
31
47
|
/**
|
|
@@ -33,13 +49,16 @@ export type IAMPolicyProperties = {
|
|
|
33
49
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html#aws-resource-iam-policy-return-values}
|
|
34
50
|
*/
|
|
35
51
|
export type IAMPolicyAttributes = {
|
|
36
|
-
/**
|
|
37
|
-
* The provider-assigned unique ID for this resource
|
|
38
|
-
*/
|
|
39
52
|
Id: string;
|
|
40
53
|
};
|
|
41
54
|
/**
|
|
42
|
-
* Resource
|
|
55
|
+
* Resource type definition for `AWS::IAM::Policy`.
|
|
56
|
+
* Adds or updates an inline policy document that is embedded in the specified IAM group, user or role.
|
|
57
|
+
An IAM user can also have a managed policy attached to it. For information about policies, see [Managed Policies and Inline Policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *User Guide*.
|
|
58
|
+
The Groups, Roles, and Users properties are optional. However, you must specify at least one of these properties.
|
|
59
|
+
For information about policy documents see [Creating policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_create.html) in the *User Guide*.
|
|
60
|
+
For information about limits on the number of inline policies that you can embed in an identity, see [Limitations on Entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html) in the *User Guide*.
|
|
61
|
+
This resource does not support [drift detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). The following
|
|
43
62
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html}
|
|
44
63
|
*/
|
|
45
64
|
export declare class IAMPolicy extends $Resource<"AWS::IAM::Policy", IAMPolicyProperties, IAMPolicyAttributes> {
|
package/lib/AWS-IAM-Policy.js
CHANGED
|
@@ -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::IAM::Policy`.
|
|
4
|
+
* Adds or updates an inline policy document that is embedded in the specified IAM group, user or role.
|
|
5
|
+
An IAM user can also have a managed policy attached to it. For information about policies, see [Managed Policies and Inline Policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *User Guide*.
|
|
6
|
+
The Groups, Roles, and Users properties are optional. However, you must specify at least one of these properties.
|
|
7
|
+
For information about policy documents see [Creating policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_create.html) in the *User Guide*.
|
|
8
|
+
For information about limits on the number of inline policies that you can embed in an identity, see [Limitations on Entities](https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html) in the *User Guide*.
|
|
9
|
+
This resource does not support [drift detection](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-stack-drift.html). The following
|
|
4
10
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html}
|
|
5
11
|
*/
|
|
6
12
|
export class IAMPolicy extends $Resource {
|
|
@@ -317,6 +317,11 @@ export type ExtendedS3DestinationConfiguration = {
|
|
|
317
317
|
BufferingHints?: BufferingHints;
|
|
318
318
|
CloudWatchLoggingOptions?: CloudWatchLoggingOptions;
|
|
319
319
|
CompressionFormat?: "UNCOMPRESSED" | "GZIP" | "ZIP" | "Snappy" | "HADOOP_SNAPPY";
|
|
320
|
+
/**
|
|
321
|
+
* @minLength `0`
|
|
322
|
+
* @maxLength `50`
|
|
323
|
+
*/
|
|
324
|
+
CustomTimeZone?: string;
|
|
320
325
|
DataFormatConversionConfiguration?: DataFormatConversionConfiguration;
|
|
321
326
|
DynamicPartitioningConfiguration?: DynamicPartitioningConfiguration;
|
|
322
327
|
EncryptionConfiguration?: EncryptionConfiguration;
|
|
@@ -325,6 +330,12 @@ export type ExtendedS3DestinationConfiguration = {
|
|
|
325
330
|
* @maxLength `1024`
|
|
326
331
|
*/
|
|
327
332
|
ErrorOutputPrefix?: string;
|
|
333
|
+
/**
|
|
334
|
+
* @minLength `0`
|
|
335
|
+
* @maxLength `128`
|
|
336
|
+
* @pattern `^$|\.[0-9a-z!\-_.*'()]+`
|
|
337
|
+
*/
|
|
338
|
+
FileExtension?: string;
|
|
328
339
|
/**
|
|
329
340
|
* @minLength `0`
|
|
330
341
|
* @maxLength `1024`
|
|
@@ -525,7 +536,7 @@ export type ProcessingConfiguration = {
|
|
|
525
536
|
*/
|
|
526
537
|
export type Processor = {
|
|
527
538
|
Parameters?: ProcessorParameter[];
|
|
528
|
-
Type: "RecordDeAggregation" | "Decompression" | "Lambda" | "MetadataExtraction" | "AppendDelimiterToRecord";
|
|
539
|
+
Type: "RecordDeAggregation" | "Decompression" | "CloudWatchLogProcessing" | "Lambda" | "MetadataExtraction" | "AppendDelimiterToRecord";
|
|
529
540
|
};
|
|
530
541
|
/**
|
|
531
542
|
* Type definition for `AWS::KinesisFirehose::DeliveryStream.ProcessorParameter`.
|
|
@@ -1,7 +1,8 @@
|
|
|
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::Route53Resolver::ResolverRuleAssociation`.
|
|
5
|
+
* In the response to an [AssociateResolverRule](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverRule.html), [DisassociateResolverRule](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverRule.html), or [ListResolverRuleAssociations](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html) request, provides information about an association between a resolver rule and a VPC. The association determines which DNS queries that originate in the VPC are forwarded to your network.
|
|
5
6
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverruleassociation.html}
|
|
6
7
|
*/
|
|
7
8
|
export type Route53ResolverResolverRuleAssociationProperties = {
|
|
@@ -10,7 +11,7 @@ export type Route53ResolverResolverRuleAssociationProperties = {
|
|
|
10
11
|
*/
|
|
11
12
|
Name?: string;
|
|
12
13
|
/**
|
|
13
|
-
* The ID of the Resolver rule that you associated with the VPC that is specified by VPCId
|
|
14
|
+
* The ID of the Resolver rule that you associated with the VPC that is specified by ``VPCId``.
|
|
14
15
|
*/
|
|
15
16
|
ResolverRuleId: string;
|
|
16
17
|
/**
|
|
@@ -23,13 +24,11 @@ export type Route53ResolverResolverRuleAssociationProperties = {
|
|
|
23
24
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverruleassociation.html#aws-resource-route53resolver-resolverruleassociation-return-values}
|
|
24
25
|
*/
|
|
25
26
|
export type Route53ResolverResolverRuleAssociationAttributes = {
|
|
26
|
-
/**
|
|
27
|
-
* Primary Identifier for Resolver Rule Association
|
|
28
|
-
*/
|
|
29
27
|
ResolverRuleAssociationId: string;
|
|
30
28
|
};
|
|
31
29
|
/**
|
|
32
|
-
* Resource
|
|
30
|
+
* Resource type definition for `AWS::Route53Resolver::ResolverRuleAssociation`.
|
|
31
|
+
* In the response to an [AssociateResolverRule](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverRule.html), [DisassociateResolverRule](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverRule.html), or [ListResolverRuleAssociations](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html) request, provides information about an association between a resolver rule and a VPC. The association determines which DNS queries that originate in the VPC are forwarded to your network.
|
|
33
32
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverruleassociation.html}
|
|
34
33
|
*/
|
|
35
34
|
export declare class Route53ResolverResolverRuleAssociation extends $Resource<"AWS::Route53Resolver::ResolverRuleAssociation", Route53ResolverResolverRuleAssociationProperties, Route53ResolverResolverRuleAssociationAttributes> {
|
|
@@ -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::Route53Resolver::ResolverRuleAssociation`.
|
|
4
|
+
* In the response to an [AssociateResolverRule](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_AssociateResolverRule.html), [DisassociateResolverRule](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DisassociateResolverRule.html), or [ListResolverRuleAssociations](https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html) request, provides information about an association between a resolver rule and a VPC. The association determines which DNS queries that originate in the VPC are forwarded to your network.
|
|
4
5
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverruleassociation.html}
|
|
5
6
|
*/
|
|
6
7
|
export class Route53ResolverResolverRuleAssociation extends $Resource {
|