@awboost/cfn-resource-types 0.1.21 → 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.
@@ -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, CognitoUserPoolRiskConfigurationAttachmentAttributes> {
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
  }
@@ -17,7 +17,7 @@ export type EC2PrefixListProperties = {
17
17
  * Max Entries of Prefix List.
18
18
  * @min `1`
19
19
  */
20
- MaxEntries: number;
20
+ MaxEntries?: number;
21
21
  /**
22
22
  * Name of Prefix List.
23
23
  * @minLength `1`
@@ -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 Type definition for AWS::EC2::SubnetRouteTableAssociation
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 Type definition for AWS::EC2::SubnetRouteTableAssociation
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 Type definition for AWS::EC2::SubnetRouteTableAssociation
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 Type definition for AWS::S3::BucketPolicy
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 Type definition for AWS::S3::BucketPolicy
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 Type definition for AWS::S3::BucketPolicy
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awboost/cfn-resource-types",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },