@propulsionworks/cloudformation 0.1.4 → 0.1.6
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/builder.ts +3 -3
- package/out/exports/resources.generated/aws-apigateway-domainnamev2.d.ts +2 -2
- package/out/exports/resources.generated/aws-apigateway-restapi.d.ts +2 -2
- package/out/exports/resources.generated/aws-backup-backupvault.d.ts +2 -2
- package/out/exports/resources.generated/aws-backup-logicallyairgappedbackupvault.d.ts +2 -2
- package/out/exports/resources.generated/aws-cloudtrail-resourcepolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-codeartifact-domain.d.ts +2 -2
- package/out/exports/resources.generated/aws-codeartifact-repository.d.ts +2 -2
- package/out/exports/resources.generated/aws-dynamodb-globaltable.d.ts +2 -2
- package/out/exports/resources.generated/aws-dynamodb-table.d.ts +2 -2
- package/out/exports/resources.generated/aws-ec2-vpcendpoint.d.ts +2 -2
- package/out/exports/resources.generated/aws-ecr-publicrepository.d.ts +2 -2
- package/out/exports/resources.generated/aws-ecr-registrypolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-ecr-repository.d.ts +2 -2
- package/out/exports/resources.generated/aws-efs-filesystem.d.ts +2 -2
- package/out/exports/resources.generated/aws-events-eventbus.d.ts +2 -2
- package/out/exports/resources.generated/aws-eventschemas-registrypolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-iam-group.d.ts +2 -2
- package/out/exports/resources.generated/aws-iam-grouppolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-iam-managedpolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-iam-policy.d.ts +2 -2
- package/out/exports/resources.generated/aws-iam-role.d.ts +3 -3
- package/out/exports/resources.generated/aws-iam-rolepolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-iam-user.d.ts +2 -2
- package/out/exports/resources.generated/aws-iam-userpolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-iot-policy.d.ts +2 -2
- package/out/exports/resources.generated/aws-kinesis-resourcepolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-kms-key.d.ts +2 -2
- package/out/exports/resources.generated/aws-kms-replicakey.d.ts +2 -2
- package/out/exports/resources.generated/aws-lex-resourcepolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-logs-deliverydestination.d.ts +2 -2
- package/out/exports/resources.generated/aws-mediapackagev2-channelpolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-mediapackagev2-originendpointpolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-mediatailor-channelpolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-msk-clusterpolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-oam-sink.d.ts +2 -2
- package/out/exports/resources.generated/aws-omics-sequencestore.d.ts +2 -2
- package/out/exports/resources.generated/aws-redshift-cluster.d.ts +2 -2
- package/out/exports/resources.generated/aws-redshiftserverless-namespace.d.ts +2 -2
- package/out/exports/resources.generated/aws-s3-accesspoint.d.ts +2 -2
- package/out/exports/resources.generated/aws-s3-bucketpolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-s3-multiregionaccesspointpolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-s3express-bucketpolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-s3objectlambda-accesspointpolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-s3outposts-accesspoint.d.ts +2 -2
- package/out/exports/resources.generated/aws-s3outposts-bucketpolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-s3tables-tablebucketpolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-sagemaker-modelpackagegroup.d.ts +2 -2
- package/out/exports/resources.generated/aws-secretsmanager-resourcepolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-sns-topicinlinepolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-sns-topicpolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-sqs-queueinlinepolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-sqs-queuepolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-ssm-resourcepolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-sso-permissionset.d.ts +2 -2
- package/out/exports/resources.generated/aws-vpclattice-authpolicy.d.ts +2 -2
- package/out/exports/resources.generated/aws-vpclattice-resourcepolicy.d.ts +2 -2
- package/out/lib/builder.d.ts +2 -2
- package/out/lib/builder.d.ts.map +1 -1
- package/out/lib/builder.js +1 -1
- package/out/lib/builder.js.map +1 -1
- package/package.json +1 -1
package/lib/builder.ts
CHANGED
|
@@ -106,14 +106,14 @@ export type ResourceInstance<Def> =
|
|
|
106
106
|
Def extends ResourceDefinitionWithAttributes<any, any, infer Attributes>
|
|
107
107
|
? {
|
|
108
108
|
name: string;
|
|
109
|
-
ref: Ref
|
|
109
|
+
ref: <T = string>() => Ref<T>;
|
|
110
110
|
getAtt: <Attr extends keyof Attributes>(
|
|
111
111
|
name: Attr,
|
|
112
112
|
) => Required<FnGetAtt<Attributes[Attr]>>;
|
|
113
113
|
}
|
|
114
114
|
: {
|
|
115
115
|
name: string;
|
|
116
|
-
ref: Ref
|
|
116
|
+
ref: <T = string>() => Ref<T>;
|
|
117
117
|
};
|
|
118
118
|
|
|
119
119
|
/**
|
|
@@ -293,7 +293,7 @@ export class TemplateBuilder<
|
|
|
293
293
|
});
|
|
294
294
|
return {
|
|
295
295
|
name,
|
|
296
|
-
ref: Ref(name),
|
|
296
|
+
ref: () => Ref(name),
|
|
297
297
|
getAtt: Fn.GetAtt.bind(Fn, name),
|
|
298
298
|
} as ResourceInstance<Extract<ResourceType, { Type: T }>>;
|
|
299
299
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::ApiGateway::DomainNameV2` resource specifies a custom domain name for your private APIs in API Gateway. You can use a private custom domain name to provide a URL for your private API that's more intuitive and easier to recall.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnamev2.html}
|
|
@@ -28,7 +28,7 @@ export type ApiGatewayDomainNameV2Props = {
|
|
|
28
28
|
* A stringified JSON policy document that applies to the `execute-api` service for this DomainName regardless of the caller and Method configuration. You can use `Fn::ToJsonString` to enter your `policy` . For more information, see [Fn::ToJsonString](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ToJsonString.html) .
|
|
29
29
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnamev2.html#cfn-apigateway-domainnamev2-policy}
|
|
30
30
|
*/
|
|
31
|
-
Policy?:
|
|
31
|
+
Policy?: PolicyDocument | undefined;
|
|
32
32
|
/**
|
|
33
33
|
* The Transport Layer Security (TLS) version + cipher suite for this DomainName. Only `TLS_1_2` is supported.
|
|
34
34
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainnamev2.html#cfn-apigateway-domainnamev2-securitypolicy}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::ApiGateway::RestApi` resource creates a REST API. For more information, see [restapi:create](https://docs.aws.amazon.com/apigateway/latest/api/API_CreateRestApi.html) in the *Amazon API Gateway REST API Reference* .
|
|
4
4
|
*
|
|
@@ -92,7 +92,7 @@ export type ApiGatewayRestApiProps = {
|
|
|
92
92
|
* A policy document that contains the permissions for the `RestApi` resource. To set the ARN for the policy, use the `!Join` intrinsic function with `""` as delimiter and values of `"execute-api:/"` and `"*"` .
|
|
93
93
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-policy}
|
|
94
94
|
*/
|
|
95
|
-
Policy?:
|
|
95
|
+
Policy?: PolicyDocument | undefined;
|
|
96
96
|
/**
|
|
97
97
|
* The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with `aws:` . The tag value can be up to 256 characters.
|
|
98
98
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html#cfn-apigateway-restapi-tags}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Creates a logical container where backups are stored. A `CreateBackupVault` request includes a name, optionally one or more resource tags, an encryption key, and a request ID.
|
|
4
4
|
*
|
|
@@ -21,7 +21,7 @@ export type BackupBackupVaultProps = {
|
|
|
21
21
|
* A resource-based policy that is used to manage access permissions on the target backup vault.
|
|
22
22
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupvault.html#cfn-backup-backupvault-accesspolicy}
|
|
23
23
|
*/
|
|
24
|
-
AccessPolicy?:
|
|
24
|
+
AccessPolicy?: PolicyDocument | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created.
|
|
27
27
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-backupvault.html#cfn-backup-backupvault-backupvaultname}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Creates a logical container to where backups may be copied.
|
|
4
4
|
*
|
|
@@ -21,7 +21,7 @@ export type BackupLogicallyAirGappedBackupVaultProps = {
|
|
|
21
21
|
* The backup vault access policy document in JSON format.
|
|
22
22
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-logicallyairgappedbackupvault.html#cfn-backup-logicallyairgappedbackupvault-accesspolicy}
|
|
23
23
|
*/
|
|
24
|
-
AccessPolicy?:
|
|
24
|
+
AccessPolicy?: PolicyDocument | undefined;
|
|
25
25
|
/**
|
|
26
26
|
* The name of a logical container where backups are stored. Logically air-gapped backup vaults are identified by names that are unique to the account used to create them and the Region where they are created.
|
|
27
27
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-backup-logicallyairgappedbackupvault.html#cfn-backup-logicallyairgappedbackupvault-backupvaultname}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinition,
|
|
1
|
+
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Attaches a resource-based permission policy to a CloudTrail event data store, dashboard, or channel. For more information about resource-based policies, see [CloudTrail resource-based policy examples](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/security_iam_resource-based-policy-examples.html) in the *CloudTrail User Guide* .
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-resourcepolicy.html}
|
|
@@ -26,6 +26,6 @@ export type CloudTrailResourcePolicyProps = {
|
|
|
26
26
|
* For example resource-based policies, see [CloudTrail resource-based policy examples](https://docs.aws.amazon.com/awscloudtrail/latest/userguide/security_iam_resource-based-policy-examples.html) in the *CloudTrail User Guide* .
|
|
27
27
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudtrail-resourcepolicy.html#cfn-cloudtrail-resourcepolicy-resourcepolicy}
|
|
28
28
|
*/
|
|
29
|
-
ResourcePolicy:
|
|
29
|
+
ResourcePolicy: PolicyDocument;
|
|
30
30
|
};
|
|
31
31
|
//# sourceMappingURL=aws-cloudtrail-resourcepolicy.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::CodeArtifact::Domain` resource creates an AWS CodeArtifact domain. CodeArtifact *domains* make it easier to manage multiple repositories across an organization. You can use a domain to apply permissions across many repositories owned by different AWS accounts. For more information about domains, see the [Domain concepts information](https://docs.aws.amazon.com/codeartifact/latest/ug/codeartifact-concepts.html#welcome-concepts-domain) in the *CodeArtifact User Guide* . For more information about the `CreateDomain` API, see [CreateDomain](https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_CreateDomain.html) in the *CodeArtifact API Reference* .
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.html}
|
|
@@ -23,7 +23,7 @@ export type CodeArtifactDomainProps = {
|
|
|
23
23
|
* @maxLength 5120
|
|
24
24
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.html#cfn-codeartifact-domain-permissionspolicydocument}
|
|
25
25
|
*/
|
|
26
|
-
PermissionsPolicyDocument?:
|
|
26
|
+
PermissionsPolicyDocument?: PolicyDocument | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* A list of tags to be applied to the domain.
|
|
29
29
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-domain.html#cfn-codeartifact-domain-tags}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::CodeArtifact::Repository` resource creates an AWS CodeArtifact repository. CodeArtifact *repositories* contain a set of package versions. For more information about repositories, see the [Repository concepts information](https://docs.aws.amazon.com/codeartifact/latest/ug/codeartifact-concepts.html#welcome-concepts-repository) in the *CodeArtifact User Guide* . For more information about the `CreateRepository` API, see [CreateRepository](https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_CreateRepository.html) in the *CodeArtifact API Reference* .
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html}
|
|
@@ -34,7 +34,7 @@ export type CodeArtifactRepositoryProps = {
|
|
|
34
34
|
* @maxLength 5120
|
|
35
35
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-codeartifact-repository.html#cfn-codeartifact-repository-permissionspolicydocument}
|
|
36
36
|
*/
|
|
37
|
-
PermissionsPolicyDocument?:
|
|
37
|
+
PermissionsPolicyDocument?: PolicyDocument | undefined;
|
|
38
38
|
/**
|
|
39
39
|
* The name of an upstream repository.
|
|
40
40
|
* @minLength 2
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes, Tag,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, Tag, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::DynamoDB::GlobalTable` resource enables you to create and manage a Version 2019.11.21 global table. This resource cannot be used to create or manage a Version 2017.11.29 global table. For more information, see [Global tables](https://docs.aws.amazon.com//amazondynamodb/latest/developerguide/GlobalTables.html) .
|
|
4
4
|
*
|
|
@@ -625,7 +625,7 @@ export type ResourcePolicy = {
|
|
|
625
625
|
* A resource-based policy document that contains permissions to add to the specified DynamoDB table, its indexes, and stream. In a CloudFormation template, you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to DynamoDB . For more information about resource-based policies, see [Using resource-based policies for DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/access-control-resource-based.html) and [Resource-based policy examples](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-examples.html) .
|
|
626
626
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-globaltable-resourcepolicy.html#cfn-dynamodb-globaltable-resourcepolicy-policydocument}
|
|
627
627
|
*/
|
|
628
|
-
PolicyDocument:
|
|
628
|
+
PolicyDocument: PolicyDocument;
|
|
629
629
|
};
|
|
630
630
|
/**
|
|
631
631
|
* Represents the settings used to enable server-side encryption.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes, Tag,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, Tag, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::DynamoDB::Table` resource creates a DynamoDB table. For more information, see [CreateTable](https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_CreateTable.html) in the *Amazon DynamoDB API Reference* .
|
|
4
4
|
*
|
|
@@ -485,7 +485,7 @@ export type ResourcePolicy = {
|
|
|
485
485
|
* A resource-based policy document that contains permissions to add to the specified DynamoDB table, index, or both. In a CloudFormation template, you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to DynamoDB . For more information about resource-based policies, see [Using resource-based policies for DynamoDB](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/access-control-resource-based.html) and [Resource-based policy examples](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/rbac-examples.html) .
|
|
486
486
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-dynamodb-table-resourcepolicy.html#cfn-dynamodb-table-resourcepolicy-policydocument}
|
|
487
487
|
*/
|
|
488
|
-
PolicyDocument:
|
|
488
|
+
PolicyDocument: PolicyDocument;
|
|
489
489
|
};
|
|
490
490
|
/**
|
|
491
491
|
* The S3 bucket that is being imported from.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Specifies a VPC endpoint. A VPC endpoint provides a private connection between your VPC and an endpoint service. You can use an endpoint service provided by AWS , an AWS Marketplace Partner, or another AWS accounts in your organization. For more information, see the [AWS PrivateLink User Guide](https://docs.aws.amazon.com/vpc/latest/privatelink/) .
|
|
4
4
|
*
|
|
@@ -39,7 +39,7 @@ export type EC2VPCEndpointProps = {
|
|
|
39
39
|
* `Properties: VpcEndpointType: 'Interface' ServiceName: !Sub 'com.amazonaws.${AWS::Region}.logs' PolicyDocument: '{ "Version":"2012-10-17", "Statement": [{ "Effect":"Allow", "Principal":"*", "Action":["logs:Describe*","logs:Get*","logs:List*","logs:FilterLogEvents"], "Resource":"*" }] }'`
|
|
40
40
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcendpoint.html#cfn-ec2-vpcendpoint-policydocument}
|
|
41
41
|
*/
|
|
42
|
-
PolicyDocument?:
|
|
42
|
+
PolicyDocument?: PolicyDocument | undefined;
|
|
43
43
|
/**
|
|
44
44
|
* Indicate whether to associate a private hosted zone with the specified VPC. The private hosted zone contains a record set for the default public DNS name for the service for the Region (for example, `kinesis.us-east-1.amazonaws.com` ), which resolves to the private IP addresses of the endpoint network interfaces in the VPC. This enables you to make requests to the default public DNS name for the service instead of the public DNS names that are automatically generated by the VPC endpoint service.
|
|
45
45
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::ECR::PublicRepository` resource specifies an Amazon Elastic Container Registry Public (Amazon ECR Public) repository, where users can push and pull Docker images, Open Container Initiative (OCI) images, and OCI compatible artifacts. For more information, see [Amazon ECR public repositories](https://docs.aws.amazon.com/AmazonECR/latest/public/public-repositories.html) in the *Amazon ECR Public User Guide* .
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-publicrepository.html}
|
|
@@ -34,7 +34,7 @@ export type ECRPublicRepositoryProps = {
|
|
|
34
34
|
* The JSON repository policy text to apply to the public repository. For more information, see [Amazon ECR Public repository policies](https://docs.aws.amazon.com/AmazonECR/latest/public/public-repository-policies.html) in the *Amazon ECR Public User Guide* .
|
|
35
35
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-publicrepository.html#cfn-ecr-publicrepository-repositorypolicytext}
|
|
36
36
|
*/
|
|
37
|
-
RepositoryPolicyText?:
|
|
37
|
+
RepositoryPolicyText?: PolicyDocument | undefined;
|
|
38
38
|
/**
|
|
39
39
|
* An array of key-value pairs to apply to this resource.
|
|
40
40
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-publicrepository.html#cfn-ecr-publicrepository-tags}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::ECR::RegistryPolicy` resource creates or updates the permissions policy for a private registry.
|
|
4
4
|
*
|
|
@@ -17,7 +17,7 @@ export type ECRRegistryPolicyProps = {
|
|
|
17
17
|
* The JSON policy text for your registry.
|
|
18
18
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html#cfn-ecr-registrypolicy-policytext}
|
|
19
19
|
*/
|
|
20
|
-
PolicyText:
|
|
20
|
+
PolicyText: PolicyDocument;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
23
23
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-registrypolicy.html#aws-resource-ecr-registrypolicy-return-values}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::ECR::Repository` resource specifies an Amazon Elastic Container Registry (Amazon ECR) repository, where users can push and pull Docker images, Open Container Initiative (OCI) images, and OCI compatible artifacts. For more information, see [Amazon ECR private repositories](https://docs.aws.amazon.com/AmazonECR/latest/userguide/Repositories.html) in the *Amazon ECR User Guide* .
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html}
|
|
@@ -50,7 +50,7 @@ export type ECRRepositoryProps = {
|
|
|
50
50
|
* The JSON repository policy text to apply to the repository. For more information, see [Amazon ECR repository policies](https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-policy-examples.html) in the *Amazon Elastic Container Registry User Guide* .
|
|
51
51
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-repositorypolicytext}
|
|
52
52
|
*/
|
|
53
|
-
RepositoryPolicyText?:
|
|
53
|
+
RepositoryPolicyText?: PolicyDocument | undefined;
|
|
54
54
|
/**
|
|
55
55
|
* An array of key-value pairs to apply to this resource.
|
|
56
56
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-tags}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::EFS::FileSystem` resource creates a new, empty file system in Amazon Elastic File System ( Amazon EFS ). You must create a mount target ( [AWS::EFS::MountTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html) ) to mount your EFS file system on an Amazon EC2 or other AWS cloud compute resource.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html}
|
|
@@ -35,7 +35,7 @@ export type EFSFileSystemProps = {
|
|
|
35
35
|
* The `FileSystemPolicy` for the EFS file system. A file system policy is an IAM resource policy used to control NFS access to an EFS file system. For more information, see [Using IAM to control NFS access to Amazon EFS](https://docs.aws.amazon.com/efs/latest/ug/iam-access-control-nfs-efs.html) in the *Amazon EFS User Guide* .
|
|
36
36
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html#cfn-efs-filesystem-filesystempolicy}
|
|
37
37
|
*/
|
|
38
|
-
FileSystemPolicy?:
|
|
38
|
+
FileSystemPolicy?: PolicyDocument | undefined;
|
|
39
39
|
/**
|
|
40
40
|
* Describes the protection on the file system.
|
|
41
41
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html#cfn-efs-filesystem-filesystemprotection}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Specifies an event bus within your account. This can be a custom event bus which you can use to receive events from your custom applications and services, or it can be a partner event bus which can be matched to a partner event source.
|
|
4
4
|
*
|
|
@@ -63,7 +63,7 @@ export type EventsEventBusProps = {
|
|
|
63
63
|
* The permissions policy of the event bus, describing which other AWS accounts can write events to this event bus.
|
|
64
64
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-policy}
|
|
65
65
|
*/
|
|
66
|
-
Policy?:
|
|
66
|
+
Policy?: PolicyDocument | undefined;
|
|
67
67
|
/**
|
|
68
68
|
* Tags to associate with the event bus.
|
|
69
69
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-eventbus.html#cfn-events-eventbus-tags}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Use the `AWS::EventSchemas::RegistryPolicy` resource to specify resource-based policies for an EventBridge Schema Registry.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-registrypolicy.html}
|
|
@@ -13,7 +13,7 @@ export type EventSchemasRegistryPolicyProps = {
|
|
|
13
13
|
* A resource-based policy.
|
|
14
14
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-registrypolicy.html#cfn-eventschemas-registrypolicy-policy}
|
|
15
15
|
*/
|
|
16
|
-
Policy:
|
|
16
|
+
Policy: PolicyDocument;
|
|
17
17
|
/**
|
|
18
18
|
* The name of the registry.
|
|
19
19
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-eventschemas-registrypolicy.html#cfn-eventschemas-registrypolicy-registryname}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Creates a new group.
|
|
4
4
|
*
|
|
@@ -75,7 +75,7 @@ export type Policy = {
|
|
|
75
75
|
* The policy document.
|
|
76
76
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group-policy.html#cfn-iam-group-policy-policydocument}
|
|
77
77
|
*/
|
|
78
|
-
PolicyDocument:
|
|
78
|
+
PolicyDocument: PolicyDocument;
|
|
79
79
|
/**
|
|
80
80
|
* The friendly name (not ARN) identifying the policy.
|
|
81
81
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-group-policy.html#cfn-iam-group-policy-policyname}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinition,
|
|
1
|
+
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Adds or updates an inline policy document that is embedded in the specified IAM group.
|
|
4
4
|
*
|
|
@@ -36,7 +36,7 @@ export type IAMGroupPolicyProps = {
|
|
|
36
36
|
* - The special characters tab ( `\u0009` ), line feed ( `\u000A` ), and carriage return ( `\u000D` )
|
|
37
37
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-grouppolicy.html#cfn-iam-grouppolicy-policydocument}
|
|
38
38
|
*/
|
|
39
|
-
PolicyDocument?:
|
|
39
|
+
PolicyDocument?: PolicyDocument | undefined;
|
|
40
40
|
/**
|
|
41
41
|
* The name of the policy document.
|
|
42
42
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Creates a new managed policy for your AWS account .
|
|
4
4
|
*
|
|
@@ -78,7 +78,7 @@ export type IAMManagedPolicyProps = {
|
|
|
78
78
|
* - The special characters tab ( `\u0009` ), line feed ( `\u000A` ), and carriage return ( `\u000D` )
|
|
79
79
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html#cfn-iam-managedpolicy-policydocument}
|
|
80
80
|
*/
|
|
81
|
-
PolicyDocument:
|
|
81
|
+
PolicyDocument: PolicyDocument;
|
|
82
82
|
/**
|
|
83
83
|
* The name (friendly name, not ARN) of the role to attach the policy to.
|
|
84
84
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Adds or updates an inline policy document that is embedded in the specified IAM group, user or role.
|
|
4
4
|
*
|
|
@@ -58,7 +58,7 @@ export type IAMPolicyProps = {
|
|
|
58
58
|
* @maxLength 131072
|
|
59
59
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-policy.html#cfn-iam-policy-policydocument}
|
|
60
60
|
*/
|
|
61
|
-
PolicyDocument:
|
|
61
|
+
PolicyDocument: PolicyDocument;
|
|
62
62
|
/**
|
|
63
63
|
* The name of the policy document.
|
|
64
64
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Creates a new role for your AWS account .
|
|
4
4
|
*
|
|
@@ -17,7 +17,7 @@ export type IAMRoleProps = {
|
|
|
17
17
|
* The trust policy that is associated with this role. Trust policies define which entities can assume the role. You can associate only one trust policy with a role. For an example of a policy that can be used to assume a role, see [Template Examples](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html#aws-resource-iam-role--examples) . For more information about the elements that you can use in an IAM policy, see [IAM Policy Elements Reference](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements.html) in the *IAM User Guide* .
|
|
18
18
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html#cfn-iam-role-assumerolepolicydocument}
|
|
19
19
|
*/
|
|
20
|
-
AssumeRolePolicyDocument:
|
|
20
|
+
AssumeRolePolicyDocument: PolicyDocument;
|
|
21
21
|
/**
|
|
22
22
|
* A description of the role that you provide.
|
|
23
23
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html#cfn-iam-role-description}
|
|
@@ -120,7 +120,7 @@ export type Policy = {
|
|
|
120
120
|
* The entire contents of the policy that defines permissions. For more information, see [Overview of JSON policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json) .
|
|
121
121
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-role-policy.html#cfn-iam-role-policy-policydocument}
|
|
122
122
|
*/
|
|
123
|
-
PolicyDocument:
|
|
123
|
+
PolicyDocument: PolicyDocument;
|
|
124
124
|
/**
|
|
125
125
|
* The friendly name (not ARN) identifying the policy.
|
|
126
126
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-role-policy.html#cfn-iam-role-policy-policyname}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinition,
|
|
1
|
+
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Adds or updates an inline policy document that is embedded in the specified IAM role.
|
|
4
4
|
*
|
|
@@ -33,7 +33,7 @@ export type IAMRolePolicyProps = {
|
|
|
33
33
|
* - The special characters tab ( `\u0009` ), line feed ( `\u000A` ), and carriage return ( `\u000D` )
|
|
34
34
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-rolepolicy.html#cfn-iam-rolepolicy-policydocument}
|
|
35
35
|
*/
|
|
36
|
-
PolicyDocument?:
|
|
36
|
+
PolicyDocument?: PolicyDocument | undefined;
|
|
37
37
|
/**
|
|
38
38
|
* The name of the policy document.
|
|
39
39
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes, Tag,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, Tag, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Creates a new IAM user for your AWS account .
|
|
4
4
|
*
|
|
@@ -121,7 +121,7 @@ export type Policy = {
|
|
|
121
121
|
* The entire contents of the policy that defines permissions. For more information, see [Overview of JSON policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html#access_policies-json) .
|
|
122
122
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user-policy.html#cfn-iam-user-policy-policydocument}
|
|
123
123
|
*/
|
|
124
|
-
PolicyDocument:
|
|
124
|
+
PolicyDocument: PolicyDocument;
|
|
125
125
|
/**
|
|
126
126
|
* The friendly name (not ARN) identifying the policy.
|
|
127
127
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-user-policy.html#cfn-iam-user-policy-policyname}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinition,
|
|
1
|
+
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Adds or updates an inline policy document that is embedded in the specified IAM user.
|
|
4
4
|
*
|
|
@@ -29,7 +29,7 @@ export type IAMUserPolicyProps = {
|
|
|
29
29
|
* - The special characters tab ( `\u0009` ), line feed ( `\u000A` ), and carriage return ( `\u000D` )
|
|
30
30
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-userpolicy.html#cfn-iam-userpolicy-policydocument}
|
|
31
31
|
*/
|
|
32
|
-
PolicyDocument?:
|
|
32
|
+
PolicyDocument?: PolicyDocument | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* The name of the policy document.
|
|
35
35
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Use the `AWS::IoT::Policy` resource to declare an AWS IoT policy. For more information about working with AWS IoT policies, see [Authorization](https://docs.aws.amazon.com/iot/latest/developerguide/authorization.html) in the *AWS IoT Developer Guide* .
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policy.html}
|
|
@@ -15,7 +15,7 @@ export type IoTPolicyProps = {
|
|
|
15
15
|
* @maxLength 404600
|
|
16
16
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policy.html#cfn-iot-policy-policydocument}
|
|
17
17
|
*/
|
|
18
|
-
PolicyDocument:
|
|
18
|
+
PolicyDocument: PolicyDocument;
|
|
19
19
|
/**
|
|
20
20
|
* The policy name.
|
|
21
21
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-policy.html#cfn-iot-policy-policyname}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinition,
|
|
1
|
+
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Attaches a resource-based policy to a data stream or registered consumer. If you are using an identity other than the root user of the AWS account that owns the resource, the calling identity must have the `PutResourcePolicy` permissions on the specified Kinesis Data Streams resource and belong to the owner's account in order to use this operation. If you don't have `PutResourcePolicy` permissions, Amazon Kinesis Data Streams returns a `403 Access Denied error` . If you receive a `ResourceNotFoundException` , check to see if you passed a valid stream or consumer resource.
|
|
4
4
|
*
|
|
@@ -35,6 +35,6 @@ export type KinesisResourcePolicyProps = {
|
|
|
35
35
|
* This is the description for the resource policy.
|
|
36
36
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kinesis-resourcepolicy.html#cfn-kinesis-resourcepolicy-resourcepolicy}
|
|
37
37
|
*/
|
|
38
|
-
ResourcePolicy:
|
|
38
|
+
ResourcePolicy: PolicyDocument;
|
|
39
39
|
};
|
|
40
40
|
//# sourceMappingURL=aws-kinesis-resourcepolicy.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::KMS::Key` resource specifies an [KMS key](https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#kms_keys) in AWS Key Management Service . You can use this resource to create symmetric encryption KMS keys, asymmetric KMS keys for encryption or signing, and symmetric HMAC KMS keys. You can use `AWS::KMS::Key` to create [multi-Region primary keys](https://docs.aws.amazon.com/kms/latest/developerguide/multi-region-keys-overview.html#mrk-primary-key) of all supported types. To replicate a multi-Region key, use the `AWS::KMS::ReplicaKey` resource.
|
|
4
4
|
*
|
|
@@ -104,7 +104,7 @@ export type KMSKeyProps = {
|
|
|
104
104
|
* @default "{\n \"Version\": \"2012-10-17\",\n \"Id\": \"key-default\",\n \"Statement\": [\n {\n \"Sid\": \"Enable IAM User Permissions\",\n \"Effect\": \"Allow\",\n \"Principal\": {\n \"AWS\": \"arn:<partition>:iam::<account-id>:root\"\n },\n \"Action\": \"kms:*\",\n \"Resource\": \"*\"\n }\n ]\n}"
|
|
105
105
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-keypolicy}
|
|
106
106
|
*/
|
|
107
|
-
KeyPolicy?:
|
|
107
|
+
KeyPolicy?: PolicyDocument | undefined;
|
|
108
108
|
/**
|
|
109
109
|
* Specifies the type of KMS key to create. The default value, `SYMMETRIC_DEFAULT` , creates a KMS key with a 256-bit symmetric key for encryption and decryption. In China Regions, `SYMMETRIC_DEFAULT` creates a 128-bit symmetric key that uses SM4 encryption. You can't change the `KeySpec` value after the KMS key is created. For help choosing a key spec for your KMS key, see [Choosing a KMS key type](https://docs.aws.amazon.com/kms/latest/developerguide/symm-asymm-choose.html) in the *AWS Key Management Service Developer Guide* .
|
|
110
110
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::KMS::ReplicaKey` resource specifies a multi-Region replica key that is based on a multi-Region primary key.
|
|
4
4
|
*
|
|
@@ -80,7 +80,7 @@ export type KMSReplicaKeyProps = {
|
|
|
80
80
|
* *Maximum* : `32768`
|
|
81
81
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-replicakey.html#cfn-kms-replicakey-keypolicy}
|
|
82
82
|
*/
|
|
83
|
-
KeyPolicy:
|
|
83
|
+
KeyPolicy: PolicyDocument;
|
|
84
84
|
/**
|
|
85
85
|
* Specifies the number of days in the waiting period before AWS KMS deletes a replica key that has been removed from a CloudFormation stack. Enter a value between 7 and 30 days. The default value is 30 days.
|
|
86
86
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* > Amazon Lex V2 is the only supported version in AWS CloudFormation .
|
|
4
4
|
*
|
|
@@ -17,7 +17,7 @@ export type LexResourcePolicyProps = {
|
|
|
17
17
|
* A resource policy to add to the resource. The policy is a JSON structure that contains one or more statements that define the policy. The policy must follow IAM syntax. If the policy isn't valid, Amazon Lex returns a validation exception.
|
|
18
18
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-resourcepolicy.html#cfn-lex-resourcepolicy-policy}
|
|
19
19
|
*/
|
|
20
|
-
Policy:
|
|
20
|
+
Policy: PolicyDocument;
|
|
21
21
|
/**
|
|
22
22
|
* The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
|
|
23
23
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lex-resourcepolicy.html#cfn-lex-resourcepolicy-resourcearn}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* This structure contains information about one *delivery destination* in your account. A delivery destination is an AWS resource that represents an AWS service that logs can be sent to. CloudWatch Logs, Amazon S3, are supported as Firehose delivery destinations.
|
|
4
4
|
*
|
|
@@ -31,7 +31,7 @@ export type LogsDeliveryDestinationProps = {
|
|
|
31
31
|
* An IAM policy that grants permissions to CloudWatch Logs to deliver logs cross-account to a specified destination in this account. For examples of this policy, see [Examples](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDeliveryDestinationPolicy.html#API_PutDeliveryDestinationPolicy_Examples) in the CloudWatch Logs API Reference.
|
|
32
32
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html#cfn-logs-deliverydestination-deliverydestinationpolicy}
|
|
33
33
|
*/
|
|
34
|
-
DeliveryDestinationPolicy?:
|
|
34
|
+
DeliveryDestinationPolicy?: PolicyDocument | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* The ARN of the AWS destination that this delivery destination represents. That AWS destination can be a log group in CloudWatch Logs , an Amazon S3 bucket, or a Firehose stream.
|
|
37
37
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-deliverydestination.html#cfn-logs-deliverydestination-destinationresourcearn}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinition,
|
|
1
|
+
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Specifies the configuration parameters of a MediaPackage V2 channel policy.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelpolicy.html}
|
|
@@ -29,6 +29,6 @@ export type MediaPackageV2ChannelPolicyProps = {
|
|
|
29
29
|
* The policy associated with the channel.
|
|
30
30
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-channelpolicy.html#cfn-mediapackagev2-channelpolicy-policy}
|
|
31
31
|
*/
|
|
32
|
-
Policy:
|
|
32
|
+
Policy: PolicyDocument;
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=aws-mediapackagev2-channelpolicy.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinition,
|
|
1
|
+
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Specifies the configuration parameters of a policy associated with a MediaPackage V2 origin endpoint.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html}
|
|
@@ -37,6 +37,6 @@ export type MediaPackageV2OriginEndpointPolicyProps = {
|
|
|
37
37
|
* The policy associated with the origin endpoint.
|
|
38
38
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediapackagev2-originendpointpolicy.html#cfn-mediapackagev2-originendpointpolicy-policy}
|
|
39
39
|
*/
|
|
40
|
-
Policy:
|
|
40
|
+
Policy: PolicyDocument;
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=aws-mediapackagev2-originendpointpolicy.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinition,
|
|
1
|
+
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Specifies an IAM policy for the channel. IAM policies are used to control access to your channel.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-channelpolicy.html}
|
|
@@ -18,6 +18,6 @@ export type MediaTailorChannelPolicyProps = {
|
|
|
18
18
|
* The IAM policy for the channel. IAM policies are used to control access to your channel.
|
|
19
19
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediatailor-channelpolicy.html#cfn-mediatailor-channelpolicy-policy}
|
|
20
20
|
*/
|
|
21
|
-
Policy:
|
|
21
|
+
Policy: PolicyDocument;
|
|
22
22
|
};
|
|
23
23
|
//# sourceMappingURL=aws-mediatailor-channelpolicy.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Create or update cluster policy.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-clusterpolicy.html}
|
|
@@ -19,7 +19,7 @@ export type MSKClusterPolicyProps = {
|
|
|
19
19
|
* Resource policy for the cluster.
|
|
20
20
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-clusterpolicy.html#cfn-msk-clusterpolicy-policy}
|
|
21
21
|
*/
|
|
22
|
-
Policy:
|
|
22
|
+
Policy: PolicyDocument;
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
25
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-msk-clusterpolicy.html#aws-resource-msk-clusterpolicy-return-values}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Creates or updates a *sink* in the current account, so that it can be used as a monitoring account in CloudWatch cross-account observability. A sink is a resource that represents an attachment point in a monitoring account, which source accounts can link to to be able to send observability data.
|
|
4
4
|
*
|
|
@@ -32,7 +32,7 @@ export type OamSinkProps = {
|
|
|
32
32
|
* - Include account IDs to permit the specified accounts
|
|
33
33
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-sink.html#cfn-oam-sink-policy}
|
|
34
34
|
*/
|
|
35
|
-
Policy?:
|
|
35
|
+
Policy?: PolicyDocument | undefined;
|
|
36
36
|
/**
|
|
37
37
|
* An array of key-value pairs to apply to the sink.
|
|
38
38
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Creates a sequence store.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-sequencestore.html}
|
|
@@ -52,7 +52,7 @@ export type OmicsSequenceStoreProps = {
|
|
|
52
52
|
* The resource policy that controls S3 access on the store
|
|
53
53
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-sequencestore.html#cfn-omics-sequencestore-s3accesspolicy}
|
|
54
54
|
*/
|
|
55
|
-
S3AccessPolicy?:
|
|
55
|
+
S3AccessPolicy?: PolicyDocument | undefined;
|
|
56
56
|
/**
|
|
57
57
|
* Server-side encryption (SSE) settings for the store.
|
|
58
58
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-omics-sequencestore.html#cfn-omics-sequencestore-sseconfig}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Specifies a cluster. A *cluster* is a fully managed data warehouse that consists of a set of compute nodes.
|
|
4
4
|
*
|
|
@@ -280,7 +280,7 @@ export type RedshiftClusterProps = {
|
|
|
280
280
|
* The policy that is attached to a resource.
|
|
281
281
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-cluster.html#cfn-redshift-cluster-namespaceresourcepolicy}
|
|
282
282
|
*/
|
|
283
|
-
NamespaceResourcePolicy?:
|
|
283
|
+
NamespaceResourcePolicy?: PolicyDocument | undefined;
|
|
284
284
|
/**
|
|
285
285
|
* The node type to be provisioned for the cluster. For information about node types, go to [Working with Clusters](https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#how-many-nodes) in the *Amazon Redshift Cluster Management Guide* .
|
|
286
286
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* A collection of database objects and users.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-namespace.html}
|
|
@@ -84,7 +84,7 @@ export type RedshiftServerlessNamespaceProps = {
|
|
|
84
84
|
* The resource policy that will be attached to the namespace.
|
|
85
85
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-namespace.html#cfn-redshiftserverless-namespace-namespaceresourcepolicy}
|
|
86
86
|
*/
|
|
87
|
-
NamespaceResourcePolicy?:
|
|
87
|
+
NamespaceResourcePolicy?: PolicyDocument | undefined;
|
|
88
88
|
/**
|
|
89
89
|
* The ARN for the Redshift application that integrates with IAM Identity Center.
|
|
90
90
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshiftserverless-namespace.html#cfn-redshiftserverless-namespace-redshiftidcapplicationarn}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The AWS::S3::AccessPoint resource is an Amazon S3 resource type that you can use to access buckets.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html}
|
|
@@ -35,7 +35,7 @@ export type S3AccessPointProps = {
|
|
|
35
35
|
* The access point policy associated with this access point.
|
|
36
36
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-policy}
|
|
37
37
|
*/
|
|
38
|
-
Policy?:
|
|
38
|
+
Policy?: PolicyDocument | undefined;
|
|
39
39
|
/**
|
|
40
40
|
* The PublicAccessBlock configuration that you want to apply to this Amazon S3 bucket. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see [The Meaning of "Public"](https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html#access-control-block-public-access-policy-status) in the *Amazon S3 User Guide* .
|
|
41
41
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-accesspoint.html#cfn-s3-accesspoint-publicaccessblockconfiguration}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinition,
|
|
1
|
+
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* 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.
|
|
4
4
|
*
|
|
@@ -52,6 +52,6 @@ export type S3BucketPolicyProps = {
|
|
|
52
52
|
* 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* .
|
|
53
53
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-bucketpolicy.html#cfn-s3-bucketpolicy-policydocument}
|
|
54
54
|
*/
|
|
55
|
-
PolicyDocument:
|
|
55
|
+
PolicyDocument: PolicyDocument;
|
|
56
56
|
};
|
|
57
57
|
//# sourceMappingURL=aws-s3-bucketpolicy.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Applies an Amazon S3 access policy to an Amazon S3 Multi-Region Access Point.
|
|
4
4
|
*
|
|
@@ -25,7 +25,7 @@ export type S3MultiRegionAccessPointPolicyProps = {
|
|
|
25
25
|
* The access policy associated with the Multi-Region Access Point.
|
|
26
26
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-multiregionaccesspointpolicy.html#cfn-s3-multiregionaccesspointpolicy-policy}
|
|
27
27
|
*/
|
|
28
|
-
Policy:
|
|
28
|
+
Policy: PolicyDocument;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
31
31
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-multiregionaccesspointpolicy.html#aws-resource-s3-multiregionaccesspointpolicy-return-values}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinition,
|
|
1
|
+
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::S3Express::BucketPolicy` resource defines an Amazon S3 bucket policy to an Amazon S3 directory bucket.
|
|
4
4
|
*
|
|
@@ -88,6 +88,6 @@ export type S3ExpressBucketPolicyProps = {
|
|
|
88
88
|
* 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 [Policies and Permissions in Amazon S3](https://docs.aws.amazon.com/AmazonS3/latest/dev/access-policy-language-overview.html) in the *Amazon S3 User Guide* .
|
|
89
89
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3express-bucketpolicy.html#cfn-s3express-bucketpolicy-policydocument}
|
|
90
90
|
*/
|
|
91
|
-
PolicyDocument:
|
|
91
|
+
PolicyDocument: PolicyDocument;
|
|
92
92
|
};
|
|
93
93
|
//# sourceMappingURL=aws-s3express-bucketpolicy.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinition,
|
|
1
|
+
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::S3ObjectLambda::AccessPointPolicy` resource specifies the Object Lambda Access Point resource policy document.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspointpolicy.html}
|
|
@@ -21,6 +21,6 @@ export type S3ObjectLambdaAccessPointPolicyProps = {
|
|
|
21
21
|
* Object Lambda Access Point resource policy document.
|
|
22
22
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3objectlambda-accesspointpolicy.html#cfn-s3objectlambda-accesspointpolicy-policydocument}
|
|
23
23
|
*/
|
|
24
|
-
PolicyDocument:
|
|
24
|
+
PolicyDocument: PolicyDocument;
|
|
25
25
|
};
|
|
26
26
|
//# sourceMappingURL=aws-s3objectlambda-accesspointpolicy.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The AWS::S3Outposts::AccessPoint resource specifies an access point and associates it with the specified Amazon S3 on Outposts bucket. For more information, see [Managing data access with Amazon S3 access points](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points.html) .
|
|
4
4
|
*
|
|
@@ -33,7 +33,7 @@ export type S3OutpostsAccessPointProps = {
|
|
|
33
33
|
* The access point policy associated with this access point.
|
|
34
34
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-accesspoint.html#cfn-s3outposts-accesspoint-policy}
|
|
35
35
|
*/
|
|
36
|
-
Policy?:
|
|
36
|
+
Policy?: PolicyDocument | undefined;
|
|
37
37
|
/**
|
|
38
38
|
* The virtual private cloud (VPC) configuration for this access point, if one exists.
|
|
39
39
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-accesspoint.html#cfn-s3outposts-accesspoint-vpcconfiguration}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinition,
|
|
1
|
+
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* This resource applies a bucket policy to an Amazon S3 on Outposts bucket.
|
|
4
4
|
*
|
|
@@ -37,6 +37,6 @@ export type S3OutpostsBucketPolicyProps = {
|
|
|
37
37
|
* 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/userguide/access-policy-language-overview.html) .
|
|
38
38
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3outposts-bucketpolicy.html#cfn-s3outposts-bucketpolicy-policydocument}
|
|
39
39
|
*/
|
|
40
|
-
PolicyDocument:
|
|
40
|
+
PolicyDocument: PolicyDocument;
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=aws-s3outposts-bucketpolicy.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinition,
|
|
1
|
+
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Creates a new maintenance configuration or replaces an existing table bucket policy for a table bucket. For more information, see [Adding a table bucket policy](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-bucket-policy.html#table-bucket-policy-add) in the *Amazon Simple Storage Service User Guide* .
|
|
4
4
|
*
|
|
@@ -17,7 +17,7 @@ export type S3TablesTableBucketPolicyProps = {
|
|
|
17
17
|
* The bucket policy JSON for the table bucket.
|
|
18
18
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucketpolicy.html#cfn-s3tables-tablebucketpolicy-resourcepolicy}
|
|
19
19
|
*/
|
|
20
|
-
ResourcePolicy:
|
|
20
|
+
ResourcePolicy: PolicyDocument;
|
|
21
21
|
/**
|
|
22
22
|
* The Amazon Resource Name (ARN) of the table bucket.
|
|
23
23
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3tables-tablebucketpolicy.html#cfn-s3tables-tablebucketpolicy-tablebucketarn}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* A group of versioned models in the Model Registry.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackagegroup.html}
|
|
@@ -23,7 +23,7 @@ export type SageMakerModelPackageGroupProps = {
|
|
|
23
23
|
* A resouce policy to control access to a model group. For information about resoure policies, see [Identity-based policies and resource-based policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html) in the *AWS Identity and Access Management User Guide.* .
|
|
24
24
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-modelpackagegroup.html#cfn-sagemaker-modelpackagegroup-modelpackagegrouppolicy}
|
|
25
25
|
*/
|
|
26
|
-
ModelPackageGroupPolicy?:
|
|
26
|
+
ModelPackageGroupPolicy?: PolicyDocument | undefined;
|
|
27
27
|
/**
|
|
28
28
|
* An array of key-value pairs to apply to this resource.
|
|
29
29
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Attaches a resource-based permission policy to a secret. A resource-based policy is optional. If a secret already has a resource policy attached, you must first remove it before attaching a new policy using this CloudFormation resource. You can remove the policy using the [console](https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_resource-policies.html) , [CLI](https://docs.aws.amazon.com/cli/latest/reference/secretsmanager/delete-resource-policy.html) , or [API](https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_DeleteResourcePolicy.html) . For more information, see [Authentication and access control for Secrets Manager](https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html) .
|
|
4
4
|
*
|
|
@@ -22,7 +22,7 @@ export type SecretsManagerResourcePolicyProps = {
|
|
|
22
22
|
* A JSON-formatted string for an AWS resource-based policy. For example policies, see [Permissions policy examples](https://docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access_examples.html) .
|
|
23
23
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-resourcepolicy.html#cfn-secretsmanager-resourcepolicy-resourcepolicy}
|
|
24
24
|
*/
|
|
25
|
-
ResourcePolicy:
|
|
25
|
+
ResourcePolicy: PolicyDocument;
|
|
26
26
|
/**
|
|
27
27
|
* The ARN or name of the secret to attach the resource-based policy.
|
|
28
28
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinition,
|
|
1
|
+
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::SNS::TopicInlinePolicy` resource associates one Amazon SNS topic with one policy.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicinlinepolicy.html}
|
|
@@ -13,7 +13,7 @@ export type SNSTopicInlinePolicyProps = {
|
|
|
13
13
|
* A policy document that contains permissions to add to the specified Amazon SNS topic.
|
|
14
14
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicinlinepolicy.html#cfn-sns-topicinlinepolicy-policydocument}
|
|
15
15
|
*/
|
|
16
|
-
PolicyDocument:
|
|
16
|
+
PolicyDocument: PolicyDocument;
|
|
17
17
|
/**
|
|
18
18
|
* The Amazon Resource Name (ARN) of the topic to which you want to add the policy.
|
|
19
19
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicinlinepolicy.html#cfn-sns-topicinlinepolicy-topicarn}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::SNS::TopicPolicy` resource associates Amazon SNS topics with a policy. For an example snippet, see [Declaring an Amazon SNS policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-iam.html#scenario-sns-policy) in the *AWS CloudFormation User Guide* .
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicpolicy.html}
|
|
@@ -13,7 +13,7 @@ export type SNSTopicPolicyProps = {
|
|
|
13
13
|
* A policy document that contains permissions to add to the specified SNS topics.
|
|
14
14
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicpolicy.html#cfn-sns-topicpolicy-policydocument}
|
|
15
15
|
*/
|
|
16
|
-
PolicyDocument:
|
|
16
|
+
PolicyDocument: PolicyDocument;
|
|
17
17
|
/**
|
|
18
18
|
* The Amazon Resource Names (ARN) of the topics to which you want to add the policy. You can use the `[Ref](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html)` function to specify an `[AWS::SNS::Topic](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topic.html)` resource.
|
|
19
19
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-topicpolicy.html#cfn-sns-topicpolicy-topics}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinition,
|
|
1
|
+
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::SQS::QueueInlinePolicy` resource associates one Amazon SQS queue with one policy.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queueinlinepolicy.html}
|
|
@@ -13,7 +13,7 @@ export type SQSQueueInlinePolicyProps = {
|
|
|
13
13
|
* A policy document that contains the permissions for the specified Amazon SQS queues. For more information about Amazon SQS policies, see [Using custom policies with the Amazon SQS access policy language](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-creating-custom-policies.html) in the *Amazon SQS Developer Guide* .
|
|
14
14
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queueinlinepolicy.html#cfn-sqs-queueinlinepolicy-policydocument}
|
|
15
15
|
*/
|
|
16
|
-
PolicyDocument:
|
|
16
|
+
PolicyDocument: PolicyDocument;
|
|
17
17
|
/**
|
|
18
18
|
* The URLs of the queues to which you want to add the policy. You can use the `[Ref](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html)` function to specify an `[AWS::SQS::Queue](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sqs-queues.html)` resource.
|
|
19
19
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queueinlinepolicy.html#cfn-sqs-queueinlinepolicy-queue}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* The `AWS::SQS::QueuePolicy` type applies a policy to Amazon SQS queues. For an example snippet, see [Declaring an Amazon SQS policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-iam.html#scenario-sqs-policy) in the *AWS CloudFormation User Guide* .
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queuepolicy.html}
|
|
@@ -13,7 +13,7 @@ export type SQSQueuePolicyProps = {
|
|
|
13
13
|
* A policy document that contains the permissions for the specified Amazon SQS queues. For more information about Amazon SQS policies, see [Using custom policies with the Amazon SQS access policy language](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-creating-custom-policies.html) in the *Amazon SQS Developer Guide* .
|
|
14
14
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queuepolicy.html#cfn-sqs-queuepolicy-policydocument}
|
|
15
15
|
*/
|
|
16
|
-
PolicyDocument:
|
|
16
|
+
PolicyDocument: PolicyDocument;
|
|
17
17
|
/**
|
|
18
18
|
* The URLs of the queues to which you want to add the policy. You can use the `[Ref](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html)` function to specify an `[AWS::SQS::Queue](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html)` resource.
|
|
19
19
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queuepolicy.html#cfn-sqs-queuepolicy-queues}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Creates or updates a Systems Manager resource policy. A resource policy helps you to define the IAM entity (for example, an AWS account ) that can manage your Systems Manager resources. Currently, `OpsItemGroup` is the only resource that supports Systems Manager resource policies. The resource policy for `OpsItemGroup` enables AWS accounts to view and interact with OpsCenter operational work items (OpsItems). OpsCenter is a tool in Systems Manager .
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcepolicy.html}
|
|
@@ -13,7 +13,7 @@ export type SSMResourcePolicyProps = {
|
|
|
13
13
|
* A policy you want to associate with a resource.
|
|
14
14
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcepolicy.html#cfn-ssm-resourcepolicy-policy}
|
|
15
15
|
*/
|
|
16
|
-
Policy:
|
|
16
|
+
Policy: PolicyDocument;
|
|
17
17
|
/**
|
|
18
18
|
* The Amazon Resource Name (ARN) of the resource to which you want to attach a policy.
|
|
19
19
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcepolicy.html#cfn-ssm-resourcepolicy-resourcearn}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument, Tag } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Specifies a permission set within a specified IAM Identity Center instance.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html}
|
|
@@ -29,7 +29,7 @@ export type SSOPermissionSetProps = {
|
|
|
29
29
|
* > For `Length Constraints` , if a valid ARN is provided for a permission set, it is possible for an empty inline policy to be returned.
|
|
30
30
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sso-permissionset.html#cfn-sso-permissionset-inlinepolicy}
|
|
31
31
|
*/
|
|
32
|
-
InlinePolicy?:
|
|
32
|
+
InlinePolicy?: PolicyDocument | undefined;
|
|
33
33
|
/**
|
|
34
34
|
* The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see [Amazon Resource Names (ARNs) and AWS Service Namespaces](https://docs.aws.amazon.com//general/latest/gr/aws-arns-and-namespaces.html) in the *AWS General Reference* .
|
|
35
35
|
* @minLength 10
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinitionWithAttributes,
|
|
1
|
+
import type { ResourceDefinitionWithAttributes, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Creates or updates the auth policy. The policy string in JSON must not contain newlines or blank lines.
|
|
4
4
|
*
|
|
@@ -17,7 +17,7 @@ export type VpcLatticeAuthPolicyProps = {
|
|
|
17
17
|
* The auth policy.
|
|
18
18
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-authpolicy.html#cfn-vpclattice-authpolicy-policy}
|
|
19
19
|
*/
|
|
20
|
-
Policy:
|
|
20
|
+
Policy: PolicyDocument;
|
|
21
21
|
/**
|
|
22
22
|
* The ID or ARN of the service network or service for which the policy is created.
|
|
23
23
|
* @minLength 17
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceDefinition,
|
|
1
|
+
import type { ResourceDefinition, PolicyDocument } from "../main.ts";
|
|
2
2
|
/**
|
|
3
3
|
* Retrieves information about the specified resource policy. The resource policy is an IAM policy created on behalf of the resource owner when they share a resource.
|
|
4
4
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcepolicy.html}
|
|
@@ -13,7 +13,7 @@ export type VpcLatticeResourcePolicyProps = {
|
|
|
13
13
|
* The Amazon Resource Name (ARN) of the service network or service.
|
|
14
14
|
* @see {@link https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-vpclattice-resourcepolicy.html#cfn-vpclattice-resourcepolicy-policy}
|
|
15
15
|
*/
|
|
16
|
-
Policy:
|
|
16
|
+
Policy: PolicyDocument;
|
|
17
17
|
/**
|
|
18
18
|
* An IAM policy.
|
|
19
19
|
* @minLength 20
|
package/out/lib/builder.d.ts
CHANGED
|
@@ -53,11 +53,11 @@ export type ParameterInstance<T extends ParameterType> = T extends FnValueOfType
|
|
|
53
53
|
*/
|
|
54
54
|
export type ResourceInstance<Def> = Def extends ResourceDefinitionWithAttributes<any, any, infer Attributes> ? {
|
|
55
55
|
name: string;
|
|
56
|
-
ref: Ref
|
|
56
|
+
ref: <T = string>() => Ref<T>;
|
|
57
57
|
getAtt: <Attr extends keyof Attributes>(name: Attr) => Required<FnGetAtt<Attributes[Attr]>>;
|
|
58
58
|
} : {
|
|
59
59
|
name: string;
|
|
60
|
-
ref: Ref
|
|
60
|
+
ref: <T = string>() => Ref<T>;
|
|
61
61
|
};
|
|
62
62
|
/**
|
|
63
63
|
* Utility class to assist with creating {@link Template} instances.
|
package/out/lib/builder.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builder.d.ts","sourceRoot":"","sources":["../../lib/builder.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,GAAG,EACH,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACtB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACvE,OAAO,EACL,eAAe,EACf,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACp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SAAS,MAAM,EAC7B,KAAK,EAEL,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,WAAW,EACxB,cAAc,EAAE,cAAc,EAC9B,KAAK,EAAE,KAAK,GACX,eAAe,CAAC,WAAW,EAAE,cAAc,EAAE,KAAK,CAAC;IA+BtD;;;;;;;;OAQG;IACI,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,gBAAgB,GAAG,IAAI;IAIlE;;;;;;OAMG;IACI,YAAY,CAAC,CAAC,SAAS,aAAa,EACzC,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,mBAAmB,CAAC,CAAC,CAAC,GACjC,iBAAiB,CAAC,CAAC,CAAC;IASvB;;;;;;OAMG;IACI,WAAW,CAAC,CAAC,SAAS,YAAY,CAAC,MAAM,CAAC,EAC/C,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,CAAC,EACP,UAAU,EAAE,OAAO,CAAC,YAAY,EAAE;QAAE,IAAI,EAAE,CAAC,CAAA;KAAE,CAAC,CAAC,YAAY,CAAC,EAC5D,OAAO,CAAC,EAAE,eAAe,GACxB,gBAAgB,CAAC,OAAO,CAAC,YAAY,EAAE;QAAE,IAAI,EAAE,CAAC,CAAA;KAAE,CAAC,CAAC;IAavD;;;;;;;;OAQG;IACI,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,GAAG,IAAI;CA8C/D"}
|
package/out/lib/builder.js
CHANGED
package/out/lib/builder.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builder.js","sourceRoot":"","sources":["../../lib/builder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EACL,SAAS,EACT,EAAE,EACF,GAAG,GAQJ,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,eAAe,GAShB,MAAM,eAAe,CAAC;AAEvB;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAA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