@pulumi/aws 4.31.0 → 4.33.0
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/acm/getCertificate.d.ts +2 -2
- package/alb/loadBalancer.d.ts +2 -2
- package/alb/loadBalancer.js +2 -2
- package/alb/targetGroup.d.ts +3 -3
- package/appconfig/application.d.ts +5 -5
- package/appconfig/configurationProfile.d.ts +5 -5
- package/appconfig/deployment.d.ts +5 -5
- package/appconfig/deploymentStrategy.d.ts +5 -5
- package/appconfig/environment.d.ts +5 -5
- package/applicationloadbalancing/loadBalancer.d.ts +2 -2
- package/applicationloadbalancing/loadBalancer.js +2 -2
- package/applicationloadbalancing/targetGroup.d.ts +3 -3
- package/appstream/fleet.d.ts +1 -1
- package/appstream/fleet.js +1 -1
- package/appstream/imageBuilder.d.ts +5 -5
- package/appsync/graphQLApi.d.ts +55 -24
- package/appsync/graphQLApi.js +42 -21
- package/appsync/graphQLApi.js.map +1 -1
- package/autoscaling/getAmiIds.d.ts +4 -4
- package/autoscaling/getAmiIds.js +4 -4
- package/backup/regionSettings.d.ts +25 -0
- package/backup/regionSettings.js +9 -0
- package/backup/regionSettings.js.map +1 -1
- package/cfg/organizationConformancePack.d.ts +1 -1
- package/cfg/organizationConformancePack.js +1 -1
- package/chime/voiceConnectorTerminationCredentials.d.ts +1 -1
- package/chime/voiceConnectorTerminationCredentials.js +1 -1
- package/cloudcontrol/getResource.d.ts +3 -0
- package/cloudcontrol/getResource.js.map +1 -1
- package/cloudcontrol/resource.d.ts +3 -3
- package/cloudfront/getOriginRequestPolicy.d.ts +1 -1
- package/cloudfront/originRequestPolicy.d.ts +3 -3
- package/cloudwatch/eventTarget.d.ts +4 -0
- package/cloudwatch/eventTarget.js +4 -0
- package/cloudwatch/eventTarget.js.map +1 -1
- package/codecommit/approvalRuleTemplateAssociation.d.ts +83 -0
- package/codecommit/approvalRuleTemplateAssociation.js +82 -0
- package/codecommit/approvalRuleTemplateAssociation.js.map +1 -0
- package/codecommit/index.d.ts +1 -0
- package/codecommit/index.js +5 -0
- package/codecommit/index.js.map +1 -1
- package/connect/botAssociation.d.ts +136 -0
- package/connect/botAssociation.js +134 -0
- package/connect/botAssociation.js.map +1 -0
- package/connect/contactFlow.d.ts +5 -5
- package/connect/getBotAssociation.d.ts +59 -0
- package/connect/getBotAssociation.js +43 -0
- package/connect/getBotAssociation.js.map +1 -0
- package/connect/getHoursOfOperation.d.ts +122 -0
- package/connect/getHoursOfOperation.js +56 -0
- package/connect/getHoursOfOperation.js.map +1 -0
- package/connect/getLambdaFunctionAssociation.d.ts +55 -0
- package/connect/getLambdaFunctionAssociation.js +40 -0
- package/connect/getLambdaFunctionAssociation.js.map +1 -0
- package/connect/hoursOfOperation.d.ts +201 -0
- package/connect/hoursOfOperation.js +128 -0
- package/connect/hoursOfOperation.js.map +1 -0
- package/connect/index.d.ts +6 -0
- package/connect/index.js +18 -0
- package/connect/index.js.map +1 -1
- package/connect/lambdaFunctionAssociation.d.ts +84 -0
- package/connect/lambdaFunctionAssociation.js +83 -0
- package/connect/lambdaFunctionAssociation.js.map +1 -0
- package/detective/graph.d.ts +103 -0
- package/detective/graph.js +81 -0
- package/detective/graph.js.map +1 -0
- package/detective/index.d.ts +1 -0
- package/detective/index.js +33 -0
- package/detective/index.js.map +1 -0
- package/dms/endpoint.d.ts +24 -0
- package/dms/endpoint.js +4 -0
- package/dms/endpoint.js.map +1 -1
- package/dms/replicationInstance.d.ts +3 -3
- package/docdb/cluster.d.ts +3 -3
- package/dynamodb/getTable.d.ts +1 -0
- package/dynamodb/getTable.js.map +1 -1
- package/dynamodb/table.d.ts +60 -12
- package/dynamodb/table.js +8 -6
- package/dynamodb/table.js.map +1 -1
- package/ebs/snapshot.d.ts +3 -3
- package/ebs/snapshotCopy.d.ts +3 -3
- package/ebs/volume.d.ts +9 -0
- package/ebs/volume.js.map +1 -1
- package/ec2/capacityReservation.d.ts +9 -0
- package/ec2/capacityReservation.js.map +1 -1
- package/ec2/carrierGateway.d.ts +9 -0
- package/ec2/carrierGateway.js.map +1 -1
- package/ec2/dedicatedHost.d.ts +9 -0
- package/ec2/dedicatedHost.js.map +1 -1
- package/ec2/egressOnlyInternetGateway.d.ts +9 -0
- package/ec2/egressOnlyInternetGateway.js.map +1 -1
- package/ec2/eip.d.ts +9 -0
- package/ec2/eip.js.map +1 -1
- package/ec2/fleet.d.ts +9 -0
- package/ec2/fleet.js.map +1 -1
- package/ec2/index.d.ts +1 -0
- package/ec2/index.js +5 -0
- package/ec2/index.js.map +1 -1
- package/ec2/keyPair.d.ts +9 -0
- package/ec2/keyPair.js.map +1 -1
- package/ec2/localGatewayRouteTableVpcAssociation.d.ts +9 -0
- package/ec2/localGatewayRouteTableVpcAssociation.js.map +1 -1
- package/ec2/managedPrefixList.d.ts +9 -0
- package/ec2/managedPrefixList.js.map +1 -1
- package/ec2/subnetCidrReservation.d.ts +116 -0
- package/ec2/subnetCidrReservation.js +92 -0
- package/ec2/subnetCidrReservation.js.map +1 -0
- package/ec2/trafficMirrorFilter.d.ts +9 -0
- package/ec2/trafficMirrorFilter.js.map +1 -1
- package/ec2/trafficMirrorSession.d.ts +9 -0
- package/ec2/trafficMirrorSession.js.map +1 -1
- package/ec2/trafficMirrorTarget.d.ts +9 -0
- package/ec2/trafficMirrorTarget.js.map +1 -1
- package/ec2/transitGatewayPeeringAttachmentAccepter.d.ts +9 -0
- package/ec2/transitGatewayPeeringAttachmentAccepter.js.map +1 -1
- package/ec2/vpc.d.ts +28 -16
- package/ec2/vpc.js +1 -1
- package/ec2/vpc.js.map +1 -1
- package/ec2/vpcIpam.d.ts +5 -5
- package/ec2/vpcIpamPool.d.ts +9 -9
- package/ec2/vpcIpamPool.js +1 -1
- package/ec2/vpcIpv6CidrBlockAssociation.d.ts +10 -2
- package/ec2/vpcIpv6CidrBlockAssociation.js +1 -2
- package/ec2/vpcIpv6CidrBlockAssociation.js.map +1 -1
- package/ec2/vpcPeeringConnection.d.ts +0 -6
- package/ec2/vpcPeeringConnection.js +1 -1
- package/ec2/vpcPeeringConnection.js.map +1 -1
- package/ec2/vpcPeeringConnectionAccepter.d.ts +0 -6
- package/ec2/vpcPeeringConnectionAccepter.js +1 -1
- package/ec2/vpcPeeringConnectionAccepter.js.map +1 -1
- package/ec2clientvpn/endpoint.d.ts +9 -0
- package/ec2clientvpn/endpoint.js.map +1 -1
- package/ec2transitgateway/peeringAttachment.d.ts +9 -0
- package/ec2transitgateway/peeringAttachment.js.map +1 -1
- package/ec2transitgateway/routeTable.d.ts +9 -0
- package/ec2transitgateway/routeTable.js.map +1 -1
- package/ec2transitgateway/transitGateway.d.ts +9 -0
- package/ec2transitgateway/transitGateway.js.map +1 -1
- package/ec2transitgateway/vpcAttachment.d.ts +9 -0
- package/ec2transitgateway/vpcAttachment.js.map +1 -1
- package/ec2transitgateway/vpcAttachmentAccepter.d.ts +9 -0
- package/ec2transitgateway/vpcAttachmentAccepter.js.map +1 -1
- package/ecr/index.d.ts +2 -0
- package/ecr/index.js +10 -0
- package/ecr/index.js.map +1 -1
- package/ecr/pullThroughCacheRule.d.ts +94 -0
- package/ecr/pullThroughCacheRule.js +87 -0
- package/ecr/pullThroughCacheRule.js.map +1 -0
- package/ecr/registryScanningConfiguration.d.ts +125 -0
- package/ecr/registryScanningConfiguration.js +114 -0
- package/ecr/registryScanningConfiguration.js.map +1 -0
- package/ecr/repository.d.ts +9 -0
- package/ecr/repository.js.map +1 -1
- package/ecrpublic/index.d.ts +1 -0
- package/ecrpublic/index.js +5 -0
- package/ecrpublic/index.js.map +1 -1
- package/ecrpublic/repositoryPolicy.d.ts +113 -0
- package/ecrpublic/repositoryPolicy.js +115 -0
- package/ecrpublic/repositoryPolicy.js.map +1 -0
- package/ecs/accountSettingDefault.d.ts +17 -0
- package/ecs/accountSettingDefault.js +17 -0
- package/ecs/accountSettingDefault.js.map +1 -1
- package/ecs/capacityProvider.d.ts +9 -0
- package/ecs/capacityProvider.js.map +1 -1
- package/ecs/cluster.d.ts +9 -0
- package/ecs/cluster.js.map +1 -1
- package/ecs/index.d.ts +1 -0
- package/ecs/index.js +5 -0
- package/ecs/index.js.map +1 -1
- package/ecs/taskDefinition.d.ts +58 -18
- package/ecs/taskDefinition.js +48 -18
- package/ecs/taskDefinition.js.map +1 -1
- package/ecs/taskSet.d.ts +264 -0
- package/ecs/taskSet.js +107 -0
- package/ecs/taskSet.js.map +1 -0
- package/efs/accessPoint.d.ts +9 -0
- package/efs/accessPoint.js.map +1 -1
- package/efs/fileSystem.d.ts +9 -0
- package/efs/fileSystem.js.map +1 -1
- package/eks/fargateProfile.d.ts +9 -0
- package/eks/fargateProfile.js.map +1 -1
- package/eks/identityProviderConfig.d.ts +9 -0
- package/eks/identityProviderConfig.js.map +1 -1
- package/elasticache/cluster.d.ts +9 -0
- package/elasticache/cluster.js.map +1 -1
- package/elasticache/replicationGroup.d.ts +21 -0
- package/elasticache/replicationGroup.js +2 -0
- package/elasticache/replicationGroup.js.map +1 -1
- package/elasticbeanstalk/application.d.ts +9 -0
- package/elasticbeanstalk/application.js.map +1 -1
- package/elasticbeanstalk/applicationVersion.d.ts +9 -0
- package/elasticbeanstalk/applicationVersion.js.map +1 -1
- package/elasticbeanstalk/environment.d.ts +9 -0
- package/elasticbeanstalk/environment.js.map +1 -1
- package/elasticloadbalancing/loadBalancer.d.ts +9 -0
- package/elasticloadbalancing/loadBalancer.js.map +1 -1
- package/elasticloadbalancingv2/loadBalancer.d.ts +2 -2
- package/elasticloadbalancingv2/loadBalancer.js +2 -2
- package/elasticloadbalancingv2/targetGroup.d.ts +3 -3
- package/elasticsearch/domain.d.ts +12 -0
- package/elasticsearch/domain.js +2 -0
- package/elasticsearch/domain.js.map +1 -1
- package/elasticsearch/getDomain.d.ts +4 -0
- package/elasticsearch/getDomain.js.map +1 -1
- package/elb/loadBalancer.d.ts +9 -0
- package/elb/loadBalancer.js.map +1 -1
- package/emr/cluster.d.ts +2 -2
- package/emr/index.d.ts +2 -0
- package/emr/index.js +10 -0
- package/emr/index.js.map +1 -1
- package/emr/studio.d.ts +246 -0
- package/emr/studio.js +131 -0
- package/emr/studio.js.map +1 -0
- package/emr/studioSessionMapping.d.ts +121 -0
- package/emr/studioSessionMapping.js +93 -0
- package/emr/studioSessionMapping.js.map +1 -0
- package/fsx/backup.d.ts +55 -12
- package/fsx/backup.js +34 -4
- package/fsx/backup.js.map +1 -1
- package/fsx/ontapFileSystem.d.ts +5 -5
- package/fsx/ontapStorageVirtualMachine.d.ts +5 -5
- package/fsx/ontapVolume.d.ts +5 -5
- package/getAutoscalingGroups.d.ts +4 -4
- package/getAutoscalingGroups.js +4 -4
- package/glue/connection.d.ts +5 -5
- package/iam/role.d.ts +6 -6
- package/iam/serviceLinkedRole.d.ts +36 -0
- package/iam/serviceLinkedRole.js +4 -0
- package/iam/serviceLinkedRole.js.map +1 -1
- package/index.d.ts +2 -1
- package/index.js +5 -3
- package/index.js.map +1 -1
- package/iot/thingType.d.ts +5 -5
- package/kinesis/analyticsApplication.d.ts +9 -0
- package/kinesis/analyticsApplication.js.map +1 -1
- package/kinesis/firehoseDeliveryStream.d.ts +9 -0
- package/kinesis/firehoseDeliveryStream.js.map +1 -1
- package/kinesis/getStream.d.ts +5 -0
- package/kinesis/getStream.js.map +1 -1
- package/kinesis/stream.d.ts +31 -6
- package/kinesis/stream.js +5 -3
- package/kinesis/stream.js.map +1 -1
- package/kinesis/videoStream.d.ts +9 -0
- package/kinesis/videoStream.js.map +1 -1
- package/kinesisanalyticsv2/application.d.ts +9 -0
- package/kinesisanalyticsv2/application.js.map +1 -1
- package/kms/key.d.ts +9 -0
- package/kms/key.js.map +1 -1
- package/kms/replicaExternalKey.d.ts +9 -0
- package/kms/replicaExternalKey.js.map +1 -1
- package/kms/replicaKey.d.ts +9 -0
- package/kms/replicaKey.js.map +1 -1
- package/lambda/eventSourceMapping.d.ts +40 -0
- package/lambda/eventSourceMapping.js +30 -0
- package/lambda/eventSourceMapping.js.map +1 -1
- package/lb/loadBalancer.d.ts +2 -2
- package/lb/loadBalancer.js +2 -2
- package/lb/targetGroup.d.ts +3 -3
- package/lightsail/instance.d.ts +38 -2
- package/lightsail/instance.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/quicksight/dataSource.d.ts +5 -5
- package/quicksight/user.d.ts +4 -3
- package/quicksight/user.js +1 -0
- package/quicksight/user.js.map +1 -1
- package/route53/hostedZoneDnsSec.d.ts +2 -0
- package/route53/hostedZoneDnsSec.js +2 -0
- package/route53/hostedZoneDnsSec.js.map +1 -1
- package/route53recoveryreadiness/cell.d.ts +5 -5
- package/route53recoveryreadiness/readinessCheck.d.ts +5 -5
- package/route53recoveryreadiness/recoveryGroup.d.ts +5 -5
- package/route53recoveryreadiness/resourceSet.d.ts +5 -5
- package/s3/accessPoint.d.ts +45 -13
- package/s3/accessPoint.js +32 -0
- package/s3/accessPoint.js.map +1 -1
- package/s3/accountPublicAccessBlock.d.ts +3 -3
- package/s3/bucket.d.ts +1 -1
- package/s3/bucket.js +1 -1
- package/s3/bucketObject.d.ts +5 -5
- package/s3/bucketPolicy.d.ts +22 -24
- package/s3/bucketPolicy.js +19 -21
- package/s3/bucketPolicy.js.map +1 -1
- package/s3/bucketReplicationConfig.d.ts +2 -2
- package/s3/bucketReplicationConfig.js +2 -2
- package/s3/objectCopy.d.ts +3 -6
- package/s3/objectCopy.js.map +1 -1
- package/s3control/multiRegionAccessPoint.d.ts +9 -0
- package/s3control/multiRegionAccessPoint.js.map +1 -1
- package/sagemaker/appImageConfig.d.ts +5 -5
- package/sagemaker/codeRepository.d.ts +5 -5
- package/sagemaker/deviceFleet.d.ts +5 -5
- package/sagemaker/endpoint.d.ts +3 -3
- package/sagemaker/flowDefinition.d.ts +5 -5
- package/sagemaker/humanTaskUI.d.ts +5 -5
- package/sagemaker/studioLifecycleConfig.d.ts +5 -5
- package/sagemaker/workteam.d.ts +5 -5
- package/schemas/discoverer.d.ts +9 -0
- package/schemas/discoverer.js.map +1 -1
- package/schemas/registry.d.ts +9 -0
- package/schemas/registry.js.map +1 -1
- package/schemas/schema.d.ts +9 -0
- package/schemas/schema.js.map +1 -1
- package/secretsmanager/secret.d.ts +3 -3
- package/secretsmanager/secretPolicy.d.ts +3 -3
- package/securityhub/organizationConfiguration.d.ts +22 -0
- package/securityhub/organizationConfiguration.js +22 -0
- package/securityhub/organizationConfiguration.js.map +1 -1
- package/servicequotas/getServiceQuota.d.ts +6 -6
- package/shield/protectionGroup.d.ts +5 -5
- package/sns/topic.d.ts +4 -6
- package/sns/topic.js +4 -6
- package/sns/topic.js.map +1 -1
- package/sqs/queue.d.ts +25 -0
- package/sqs/queue.js +15 -0
- package/sqs/queue.js.map +1 -1
- package/storagegateway/fileSystemAssociation.d.ts +5 -5
- package/storagegateway/nfsFileShare.d.ts +3 -3
- package/storagegateway/smbFileShare.d.ts +3 -3
- package/timestreamwrite/database.d.ts +9 -0
- package/timestreamwrite/database.js.map +1 -1
- package/timestreamwrite/table.d.ts +9 -0
- package/timestreamwrite/table.js.map +1 -1
- package/transfer/server.d.ts +35 -3
- package/transfer/server.js +13 -0
- package/transfer/server.js.map +1 -1
- package/types/input.d.ts +307 -20
- package/types/output.d.ts +372 -17
- package/xray/group.d.ts +9 -0
- package/xray/group.js.map +1 -1
package/appsync/graphQLApi.js
CHANGED
|
@@ -19,6 +19,16 @@ const utilities = require("../utilities");
|
|
|
19
19
|
* authenticationType: "API_KEY",
|
|
20
20
|
* });
|
|
21
21
|
* ```
|
|
22
|
+
* ### AWS IAM Authentication
|
|
23
|
+
*
|
|
24
|
+
* ```typescript
|
|
25
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
26
|
+
* import * as aws from "@pulumi/aws";
|
|
27
|
+
*
|
|
28
|
+
* const example = new aws.appsync.GraphQLApi("example", {
|
|
29
|
+
* authenticationType: "AWS_IAM",
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
22
32
|
* ### AWS Cognito User Pool Authentication
|
|
23
33
|
*
|
|
24
34
|
* ```typescript
|
|
@@ -34,57 +44,66 @@ const utilities = require("../utilities");
|
|
|
34
44
|
* },
|
|
35
45
|
* });
|
|
36
46
|
* ```
|
|
37
|
-
* ###
|
|
47
|
+
* ### OpenID Connect Authentication
|
|
38
48
|
*
|
|
39
49
|
* ```typescript
|
|
40
50
|
* import * as pulumi from "@pulumi/pulumi";
|
|
41
51
|
* import * as aws from "@pulumi/aws";
|
|
42
52
|
*
|
|
43
53
|
* const example = new aws.appsync.GraphQLApi("example", {
|
|
44
|
-
* authenticationType: "
|
|
54
|
+
* authenticationType: "OPENID_CONNECT",
|
|
55
|
+
* openidConnectConfig: {
|
|
56
|
+
* issuer: "https://example.com",
|
|
57
|
+
* },
|
|
45
58
|
* });
|
|
46
59
|
* ```
|
|
47
|
-
* ###
|
|
60
|
+
* ### AWS Lambda Authorizer Authentication
|
|
48
61
|
*
|
|
49
62
|
* ```typescript
|
|
50
63
|
* import * as pulumi from "@pulumi/pulumi";
|
|
51
64
|
* import * as aws from "@pulumi/aws";
|
|
52
65
|
*
|
|
53
66
|
* const example = new aws.appsync.GraphQLApi("example", {
|
|
54
|
-
* authenticationType: "
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
67
|
+
* authenticationType: "AWS_LAMBDA",
|
|
68
|
+
* lambdaAuthorizerConfig: {
|
|
69
|
+
* authorizerUri: "arn:aws:lambda:us-east-1:123456789012:function:custom_lambda_authorizer",
|
|
70
|
+
* },
|
|
71
|
+
* });
|
|
72
|
+
* const appsyncLambdaAuthorizer = new aws.lambda.Permission("appsyncLambdaAuthorizer", {
|
|
73
|
+
* action: "lambda:InvokeFunction",
|
|
74
|
+
* "function": "custom_lambda_authorizer",
|
|
75
|
+
* principal: "appsync.amazonaws.com",
|
|
76
|
+
* sourceArn: example.arn,
|
|
62
77
|
* });
|
|
63
78
|
* ```
|
|
64
|
-
* ###
|
|
79
|
+
* ### With Multiple Authentication Providers
|
|
65
80
|
*
|
|
66
81
|
* ```typescript
|
|
67
82
|
* import * as pulumi from "@pulumi/pulumi";
|
|
68
83
|
* import * as aws from "@pulumi/aws";
|
|
69
84
|
*
|
|
70
85
|
* const example = new aws.appsync.GraphQLApi("example", {
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
86
|
+
* additionalAuthenticationProviders: [{
|
|
87
|
+
* authenticationType: "AWS_IAM",
|
|
88
|
+
* }],
|
|
89
|
+
* authenticationType: "API_KEY",
|
|
75
90
|
* });
|
|
76
91
|
* ```
|
|
77
|
-
* ### With
|
|
92
|
+
* ### With Schema
|
|
78
93
|
*
|
|
79
94
|
* ```typescript
|
|
80
95
|
* import * as pulumi from "@pulumi/pulumi";
|
|
81
96
|
* import * as aws from "@pulumi/aws";
|
|
82
97
|
*
|
|
83
98
|
* const example = new aws.appsync.GraphQLApi("example", {
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
*
|
|
99
|
+
* authenticationType: "AWS_IAM",
|
|
100
|
+
* schema: `schema {
|
|
101
|
+
* query: Query
|
|
102
|
+
* }
|
|
103
|
+
* type Query {
|
|
104
|
+
* test: Int
|
|
105
|
+
* }
|
|
106
|
+
* `,
|
|
88
107
|
* });
|
|
89
108
|
* ```
|
|
90
109
|
* ### Enabling Logging
|
|
@@ -176,6 +195,7 @@ class GraphQLApi extends pulumi.CustomResource {
|
|
|
176
195
|
inputs["additionalAuthenticationProviders"] = state ? state.additionalAuthenticationProviders : undefined;
|
|
177
196
|
inputs["arn"] = state ? state.arn : undefined;
|
|
178
197
|
inputs["authenticationType"] = state ? state.authenticationType : undefined;
|
|
198
|
+
inputs["lambdaAuthorizerConfig"] = state ? state.lambdaAuthorizerConfig : undefined;
|
|
179
199
|
inputs["logConfig"] = state ? state.logConfig : undefined;
|
|
180
200
|
inputs["name"] = state ? state.name : undefined;
|
|
181
201
|
inputs["openidConnectConfig"] = state ? state.openidConnectConfig : undefined;
|
|
@@ -193,6 +213,7 @@ class GraphQLApi extends pulumi.CustomResource {
|
|
|
193
213
|
}
|
|
194
214
|
inputs["additionalAuthenticationProviders"] = args ? args.additionalAuthenticationProviders : undefined;
|
|
195
215
|
inputs["authenticationType"] = args ? args.authenticationType : undefined;
|
|
216
|
+
inputs["lambdaAuthorizerConfig"] = args ? args.lambdaAuthorizerConfig : undefined;
|
|
196
217
|
inputs["logConfig"] = args ? args.logConfig : undefined;
|
|
197
218
|
inputs["name"] = args ? args.name : undefined;
|
|
198
219
|
inputs["openidConnectConfig"] = args ? args.openidConnectConfig : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphQLApi.js","sourceRoot":"","sources":["../../appsync/graphQLApi.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"graphQLApi.js","sourceRoot":"","sources":["../../appsync/graphQLApi.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoLG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAyFjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,MAAM,CAAC,mCAAmC,CAAC,GAAG,KAAK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"../types";
|
|
|
13
13
|
* const groups = aws.autoscaling.getAmiIds({
|
|
14
14
|
* filters: [
|
|
15
15
|
* {
|
|
16
|
-
* name: "
|
|
17
|
-
* values: ["
|
|
16
|
+
* name: "tag:Team",
|
|
17
|
+
* values: ["Pets"],
|
|
18
18
|
* },
|
|
19
19
|
* {
|
|
20
|
-
* name: "
|
|
21
|
-
* values: ["
|
|
20
|
+
* name: "tag-key",
|
|
21
|
+
* values: ["Environment"],
|
|
22
22
|
* },
|
|
23
23
|
* ],
|
|
24
24
|
* });
|
package/autoscaling/getAmiIds.js
CHANGED
|
@@ -18,12 +18,12 @@ const utilities = require("../utilities");
|
|
|
18
18
|
* const groups = aws.autoscaling.getAmiIds({
|
|
19
19
|
* filters: [
|
|
20
20
|
* {
|
|
21
|
-
* name: "
|
|
22
|
-
* values: ["
|
|
21
|
+
* name: "tag:Team",
|
|
22
|
+
* values: ["Pets"],
|
|
23
23
|
* },
|
|
24
24
|
* {
|
|
25
|
-
* name: "
|
|
26
|
-
* values: ["
|
|
25
|
+
* name: "tag-key",
|
|
26
|
+
* values: ["Environment"],
|
|
27
27
|
* },
|
|
28
28
|
* ],
|
|
29
29
|
* });
|
|
@@ -9,15 +9,22 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
9
9
|
* import * as aws from "@pulumi/aws";
|
|
10
10
|
*
|
|
11
11
|
* const test = new aws.backup.RegionSettings("test", {
|
|
12
|
+
* resourceTypeManagementPreference: {
|
|
13
|
+
* DynamoDB: true,
|
|
14
|
+
* EFS: true,
|
|
15
|
+
* },
|
|
12
16
|
* resourceTypeOptInPreference: {
|
|
13
17
|
* Aurora: true,
|
|
18
|
+
* DocumentDB: true,
|
|
14
19
|
* DynamoDB: true,
|
|
15
20
|
* EBS: true,
|
|
16
21
|
* EC2: true,
|
|
17
22
|
* EFS: true,
|
|
18
23
|
* FSx: true,
|
|
24
|
+
* Neptune: true,
|
|
19
25
|
* RDS: true,
|
|
20
26
|
* "Storage Gateway": true,
|
|
27
|
+
* VirtualMachine: true,
|
|
21
28
|
* },
|
|
22
29
|
* });
|
|
23
30
|
* ```
|
|
@@ -46,6 +53,12 @@ export declare class RegionSettings extends pulumi.CustomResource {
|
|
|
46
53
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
54
|
*/
|
|
48
55
|
static isInstance(obj: any): obj is RegionSettings;
|
|
56
|
+
/**
|
|
57
|
+
* A map of services along with the management preferences for the Region.
|
|
58
|
+
*/
|
|
59
|
+
readonly resourceTypeManagementPreference: pulumi.Output<{
|
|
60
|
+
[key: string]: boolean;
|
|
61
|
+
}>;
|
|
49
62
|
/**
|
|
50
63
|
* A map of services along with the opt-in preferences for the Region.
|
|
51
64
|
*/
|
|
@@ -65,6 +78,12 @@ export declare class RegionSettings extends pulumi.CustomResource {
|
|
|
65
78
|
* Input properties used for looking up and filtering RegionSettings resources.
|
|
66
79
|
*/
|
|
67
80
|
export interface RegionSettingsState {
|
|
81
|
+
/**
|
|
82
|
+
* A map of services along with the management preferences for the Region.
|
|
83
|
+
*/
|
|
84
|
+
resourceTypeManagementPreference?: pulumi.Input<{
|
|
85
|
+
[key: string]: pulumi.Input<boolean>;
|
|
86
|
+
}>;
|
|
68
87
|
/**
|
|
69
88
|
* A map of services along with the opt-in preferences for the Region.
|
|
70
89
|
*/
|
|
@@ -76,6 +95,12 @@ export interface RegionSettingsState {
|
|
|
76
95
|
* The set of arguments for constructing a RegionSettings resource.
|
|
77
96
|
*/
|
|
78
97
|
export interface RegionSettingsArgs {
|
|
98
|
+
/**
|
|
99
|
+
* A map of services along with the management preferences for the Region.
|
|
100
|
+
*/
|
|
101
|
+
resourceTypeManagementPreference?: pulumi.Input<{
|
|
102
|
+
[key: string]: pulumi.Input<boolean>;
|
|
103
|
+
}>;
|
|
79
104
|
/**
|
|
80
105
|
* A map of services along with the opt-in preferences for the Region.
|
|
81
106
|
*/
|
package/backup/regionSettings.js
CHANGED
|
@@ -15,15 +15,22 @@ const utilities = require("../utilities");
|
|
|
15
15
|
* import * as aws from "@pulumi/aws";
|
|
16
16
|
*
|
|
17
17
|
* const test = new aws.backup.RegionSettings("test", {
|
|
18
|
+
* resourceTypeManagementPreference: {
|
|
19
|
+
* DynamoDB: true,
|
|
20
|
+
* EFS: true,
|
|
21
|
+
* },
|
|
18
22
|
* resourceTypeOptInPreference: {
|
|
19
23
|
* Aurora: true,
|
|
24
|
+
* DocumentDB: true,
|
|
20
25
|
* DynamoDB: true,
|
|
21
26
|
* EBS: true,
|
|
22
27
|
* EC2: true,
|
|
23
28
|
* EFS: true,
|
|
24
29
|
* FSx: true,
|
|
30
|
+
* Neptune: true,
|
|
25
31
|
* RDS: true,
|
|
26
32
|
* "Storage Gateway": true,
|
|
33
|
+
* VirtualMachine: true,
|
|
27
34
|
* },
|
|
28
35
|
* });
|
|
29
36
|
* ```
|
|
@@ -42,6 +49,7 @@ class RegionSettings extends pulumi.CustomResource {
|
|
|
42
49
|
opts = opts || {};
|
|
43
50
|
if (opts.id) {
|
|
44
51
|
const state = argsOrState;
|
|
52
|
+
inputs["resourceTypeManagementPreference"] = state ? state.resourceTypeManagementPreference : undefined;
|
|
45
53
|
inputs["resourceTypeOptInPreference"] = state ? state.resourceTypeOptInPreference : undefined;
|
|
46
54
|
}
|
|
47
55
|
else {
|
|
@@ -49,6 +57,7 @@ class RegionSettings extends pulumi.CustomResource {
|
|
|
49
57
|
if ((!args || args.resourceTypeOptInPreference === undefined) && !opts.urn) {
|
|
50
58
|
throw new Error("Missing required property 'resourceTypeOptInPreference'");
|
|
51
59
|
}
|
|
60
|
+
inputs["resourceTypeManagementPreference"] = args ? args.resourceTypeManagementPreference : undefined;
|
|
52
61
|
inputs["resourceTypeOptInPreference"] = args ? args.resourceTypeOptInPreference : undefined;
|
|
53
62
|
}
|
|
54
63
|
if (!opts.version) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"regionSettings.js","sourceRoot":"","sources":["../../backup/regionSettings.ts"],"names":[],"mappings":";AAAA,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I,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;IA/DD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAiEC;AAnDG,gBAAgB;AACO,2BAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
3
3
|
/**
|
|
4
4
|
* Manages a Config Organization Conformance Pack. More information can be found in the [Managing Conformance Packs Across all Accounts in Your Organization](https://docs.aws.amazon.com/config/latest/developerguide/conformance-pack-organization-apis.html) and [AWS Config Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html) documentation. Example conformance pack templates may be found in the [AWS Config Rules Repository](https://github.com/awslabs/aws-config-rules/tree/master/aws-config-conformance-packs).
|
|
5
5
|
*
|
|
6
|
-
* > **NOTE:** This resource must be created in the Organization master account or a delegated administrator account, and the Organization must have all features enabled. Every Organization account except those configured in the `excludedAccounts` argument must have a Configuration Recorder with proper IAM permissions before the Organization Conformance Pack will successfully create or update. See also the
|
|
6
|
+
* > **NOTE:** This resource must be created in the Organization master account or a delegated administrator account, and the Organization must have all features enabled. Every Organization account except those configured in the `excludedAccounts` argument must have a Configuration Recorder with proper IAM permissions before the Organization Conformance Pack will successfully create or update. See also the `aws.cfg.Recorder` resource.
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
* ### Using Template Body
|
|
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Manages a Config Organization Conformance Pack. More information can be found in the [Managing Conformance Packs Across all Accounts in Your Organization](https://docs.aws.amazon.com/config/latest/developerguide/conformance-pack-organization-apis.html) and [AWS Config Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config_use-managed-rules.html) documentation. Example conformance pack templates may be found in the [AWS Config Rules Repository](https://github.com/awslabs/aws-config-rules/tree/master/aws-config-conformance-packs).
|
|
10
10
|
*
|
|
11
|
-
* > **NOTE:** This resource must be created in the Organization master account or a delegated administrator account, and the Organization must have all features enabled. Every Organization account except those configured in the `excludedAccounts` argument must have a Configuration Recorder with proper IAM permissions before the Organization Conformance Pack will successfully create or update. See also the
|
|
11
|
+
* > **NOTE:** This resource must be created in the Organization master account or a delegated administrator account, and the Organization must have all features enabled. Every Organization account except those configured in the `excludedAccounts` argument must have a Configuration Recorder with proper IAM permissions before the Organization Conformance Pack will successfully create or update. See also the `aws.cfg.Recorder` resource.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
* ### Using Template Body
|
|
@@ -3,7 +3,7 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
3
3
|
/**
|
|
4
4
|
* Adds termination SIP credentials for the specified Amazon Chime Voice Connector.
|
|
5
5
|
*
|
|
6
|
-
* > **Note:** Voice Connector Termination Credentials requires a
|
|
6
|
+
* > **Note:** Voice Connector Termination Credentials requires a Voice Connector Termination to be present. Use of `dependsOn` (as shown below) is recommended to avoid race conditions.
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
@@ -8,7 +8,7 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Adds termination SIP credentials for the specified Amazon Chime Voice Connector.
|
|
10
10
|
*
|
|
11
|
-
* > **Note:** Voice Connector Termination Credentials requires a
|
|
11
|
+
* > **Note:** Voice Connector Termination Credentials requires a Voice Connector Termination to be present. Use of `dependsOn` (as shown below) is recommended to avoid race conditions.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
@@ -45,6 +45,9 @@ export interface GetResourceResult {
|
|
|
45
45
|
*/
|
|
46
46
|
readonly id: string;
|
|
47
47
|
readonly identifier: string;
|
|
48
|
+
/**
|
|
49
|
+
* JSON string matching the CloudFormation resource type schema with current configuration.
|
|
50
|
+
*/
|
|
48
51
|
readonly properties: string;
|
|
49
52
|
readonly roleArn?: string;
|
|
50
53
|
readonly typeName: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getResource.js","sourceRoot":"","sources":["../../cloudcontrol/getResource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,kCAcC;
|
|
1
|
+
{"version":3,"file":"getResource.js","sourceRoot":"","sources":["../../cloudcontrol/getResource.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,kCAcC;AA0CD,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
|
|
@@ -43,7 +43,7 @@ export declare class Resource extends pulumi.CustomResource {
|
|
|
43
43
|
*/
|
|
44
44
|
readonly roleArn: pulumi.Output<string | undefined>;
|
|
45
45
|
/**
|
|
46
|
-
* JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same `typeName`, it is recommended to fetch the schema once via the
|
|
46
|
+
* JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same `typeName`, it is recommended to fetch the schema once via the `aws.cloudformation.CloudFormationType` data source and use this argument to reduce `DescribeType` API operation throttling. This value is marked sensitive only to prevent large plan differences from showing.
|
|
47
47
|
*/
|
|
48
48
|
readonly schema: pulumi.Output<string>;
|
|
49
49
|
/**
|
|
@@ -74,7 +74,7 @@ export interface ResourceState {
|
|
|
74
74
|
*/
|
|
75
75
|
roleArn?: pulumi.Input<string>;
|
|
76
76
|
/**
|
|
77
|
-
* JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same `typeName`, it is recommended to fetch the schema once via the
|
|
77
|
+
* JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same `typeName`, it is recommended to fetch the schema once via the `aws.cloudformation.CloudFormationType` data source and use this argument to reduce `DescribeType` API operation throttling. This value is marked sensitive only to prevent large plan differences from showing.
|
|
78
78
|
*/
|
|
79
79
|
schema?: pulumi.Input<string>;
|
|
80
80
|
/**
|
|
@@ -96,7 +96,7 @@ export interface ResourceArgs {
|
|
|
96
96
|
*/
|
|
97
97
|
roleArn?: pulumi.Input<string>;
|
|
98
98
|
/**
|
|
99
|
-
* JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same `typeName`, it is recommended to fetch the schema once via the
|
|
99
|
+
* JSON string of the CloudFormation resource type schema which is used for plan time validation where possible. Automatically fetched if not provided. In large scale environments with multiple resources using the same `typeName`, it is recommended to fetch the schema once via the `aws.cloudformation.CloudFormationType` data source and use this argument to reduce `DescribeType` API operation throttling. This value is marked sensitive only to prevent large plan differences from showing.
|
|
100
100
|
*/
|
|
101
101
|
schema?: pulumi.Input<string>;
|
|
102
102
|
/**
|
|
@@ -51,7 +51,7 @@ export interface GetOriginRequestPolicyResult {
|
|
|
51
51
|
readonly id?: string;
|
|
52
52
|
readonly name?: string;
|
|
53
53
|
/**
|
|
54
|
-
* Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query
|
|
54
|
+
* Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query String Config for more information.
|
|
55
55
|
*/
|
|
56
56
|
readonly queryStringsConfigs: outputs.cloudfront.GetOriginRequestPolicyQueryStringsConfig[];
|
|
57
57
|
}
|
|
@@ -69,7 +69,7 @@ export declare class OriginRequestPolicy extends pulumi.CustomResource {
|
|
|
69
69
|
*/
|
|
70
70
|
readonly name: pulumi.Output<string>;
|
|
71
71
|
/**
|
|
72
|
-
* Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query
|
|
72
|
+
* Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query String Config for more information.
|
|
73
73
|
*/
|
|
74
74
|
readonly queryStringsConfig: pulumi.Output<outputs.cloudfront.OriginRequestPolicyQueryStringsConfig>;
|
|
75
75
|
/**
|
|
@@ -106,7 +106,7 @@ export interface OriginRequestPolicyState {
|
|
|
106
106
|
*/
|
|
107
107
|
name?: pulumi.Input<string>;
|
|
108
108
|
/**
|
|
109
|
-
* Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query
|
|
109
|
+
* Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query String Config for more information.
|
|
110
110
|
*/
|
|
111
111
|
queryStringsConfig?: pulumi.Input<inputs.cloudfront.OriginRequestPolicyQueryStringsConfig>;
|
|
112
112
|
}
|
|
@@ -131,7 +131,7 @@ export interface OriginRequestPolicyArgs {
|
|
|
131
131
|
*/
|
|
132
132
|
name?: pulumi.Input<string>;
|
|
133
133
|
/**
|
|
134
|
-
* Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query
|
|
134
|
+
* Object that determines whether any URL query strings in viewer requests (and if so, which query strings) are included in the origin request key and automatically included in requests that CloudFront sends to the origin. See Query String Config for more information.
|
|
135
135
|
*/
|
|
136
136
|
queryStringsConfig: pulumi.Input<inputs.cloudfront.OriginRequestPolicyQueryStringsConfig>;
|
|
137
137
|
}
|
|
@@ -99,6 +99,10 @@ import { input as inputs, output as outputs } from "../types";
|
|
|
99
99
|
* }));
|
|
100
100
|
* const ssmLifecycleRole = new aws.iam.Role("ssmLifecycleRole", {assumeRolePolicy: ssmLifecycleTrust.then(ssmLifecycleTrust => ssmLifecycleTrust.json)});
|
|
101
101
|
* const ssmLifecyclePolicy = new aws.iam.Policy("ssmLifecyclePolicy", {policy: ssmLifecyclePolicyDocument.apply(ssmLifecyclePolicyDocument => ssmLifecyclePolicyDocument.json)});
|
|
102
|
+
* const ssmLifecycleRolePolicyAttachment = new aws.iam.RolePolicyAttachment("ssmLifecycleRolePolicyAttachment", {
|
|
103
|
+
* policyArn: ssmLifecyclePolicy.arn,
|
|
104
|
+
* role: ssmLifecycleRole.name,
|
|
105
|
+
* });
|
|
102
106
|
* const stopInstancesEventRule = new aws.cloudwatch.EventRule("stopInstancesEventRule", {
|
|
103
107
|
* description: "Stop instances nightly",
|
|
104
108
|
* scheduleExpression: "cron(0 0 * * ? *)",
|
|
@@ -104,6 +104,10 @@ const utilities = require("../utilities");
|
|
|
104
104
|
* }));
|
|
105
105
|
* const ssmLifecycleRole = new aws.iam.Role("ssmLifecycleRole", {assumeRolePolicy: ssmLifecycleTrust.then(ssmLifecycleTrust => ssmLifecycleTrust.json)});
|
|
106
106
|
* const ssmLifecyclePolicy = new aws.iam.Policy("ssmLifecyclePolicy", {policy: ssmLifecyclePolicyDocument.apply(ssmLifecyclePolicyDocument => ssmLifecyclePolicyDocument.json)});
|
|
107
|
+
* const ssmLifecycleRolePolicyAttachment = new aws.iam.RolePolicyAttachment("ssmLifecycleRolePolicyAttachment", {
|
|
108
|
+
* policyArn: ssmLifecyclePolicy.arn,
|
|
109
|
+
* role: ssmLifecycleRole.name,
|
|
110
|
+
* });
|
|
107
111
|
* const stopInstancesEventRule = new aws.cloudwatch.EventRule("stopInstancesEventRule", {
|
|
108
112
|
* description: "Stop instances nightly",
|
|
109
113
|
* scheduleExpression: "cron(0 0 * * ? *)",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventTarget.js","sourceRoot":"","sources":["../../cloudwatch/eventTarget.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"eventTarget.js","sourceRoot":"","sources":["../../cloudwatch/eventTarget.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8NG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAyGlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,MAAM,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9C,MAAM,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9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,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACxD,CAAC;IA5JD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;;AA1BL,kCA8JC;AAhJG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Associates a CodeCommit Approval Rule Template with a Repository.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const example = new aws.codecommit.ApprovalRuleTemplateAssociation("example", {
|
|
12
|
+
* approvalRuleTemplateName: aws_codecommit_approval_rule_template.example.name,
|
|
13
|
+
* repositoryName: aws_codecommit_repository.example.repository_name,
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* CodeCommit approval rule template associations can be imported using the `approval_rule_template_name` and `repository_name` separated by a comma (`,`), e.g.
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import aws:codecommit/approvalRuleTemplateAssociation:ApprovalRuleTemplateAssociation example approver-rule-for-example,MyExampleRepo
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class ApprovalRuleTemplateAssociation extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing ApprovalRuleTemplateAssociation resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApprovalRuleTemplateAssociationState, opts?: pulumi.CustomResourceOptions): ApprovalRuleTemplateAssociation;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of ApprovalRuleTemplateAssociation. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is ApprovalRuleTemplateAssociation;
|
|
41
|
+
/**
|
|
42
|
+
* The name for the approval rule template.
|
|
43
|
+
*/
|
|
44
|
+
readonly approvalRuleTemplateName: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The name of the repository that you want to associate with the template.
|
|
47
|
+
*/
|
|
48
|
+
readonly repositoryName: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Create a ApprovalRuleTemplateAssociation resource with the given unique name, arguments, and options.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resource.
|
|
53
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
54
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
55
|
+
*/
|
|
56
|
+
constructor(name: string, args: ApprovalRuleTemplateAssociationArgs, opts?: pulumi.CustomResourceOptions);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Input properties used for looking up and filtering ApprovalRuleTemplateAssociation resources.
|
|
60
|
+
*/
|
|
61
|
+
export interface ApprovalRuleTemplateAssociationState {
|
|
62
|
+
/**
|
|
63
|
+
* The name for the approval rule template.
|
|
64
|
+
*/
|
|
65
|
+
approvalRuleTemplateName?: pulumi.Input<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The name of the repository that you want to associate with the template.
|
|
68
|
+
*/
|
|
69
|
+
repositoryName?: pulumi.Input<string>;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* The set of arguments for constructing a ApprovalRuleTemplateAssociation resource.
|
|
73
|
+
*/
|
|
74
|
+
export interface ApprovalRuleTemplateAssociationArgs {
|
|
75
|
+
/**
|
|
76
|
+
* The name for the approval rule template.
|
|
77
|
+
*/
|
|
78
|
+
approvalRuleTemplateName: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The name of the repository that you want to associate with the template.
|
|
81
|
+
*/
|
|
82
|
+
repositoryName: pulumi.Input<string>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ApprovalRuleTemplateAssociation = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Associates a CodeCommit Approval Rule Template with a Repository.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = new aws.codecommit.ApprovalRuleTemplateAssociation("example", {
|
|
18
|
+
* approvalRuleTemplateName: aws_codecommit_approval_rule_template.example.name,
|
|
19
|
+
* repositoryName: aws_codecommit_repository.example.repository_name,
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Import
|
|
24
|
+
*
|
|
25
|
+
* CodeCommit approval rule template associations can be imported using the `approval_rule_template_name` and `repository_name` separated by a comma (`,`), e.g.
|
|
26
|
+
*
|
|
27
|
+
* ```sh
|
|
28
|
+
* $ pulumi import aws:codecommit/approvalRuleTemplateAssociation:ApprovalRuleTemplateAssociation example approver-rule-for-example,MyExampleRepo
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
class ApprovalRuleTemplateAssociation extends pulumi.CustomResource {
|
|
32
|
+
constructor(name, argsOrState, opts) {
|
|
33
|
+
let inputs = {};
|
|
34
|
+
opts = opts || {};
|
|
35
|
+
if (opts.id) {
|
|
36
|
+
const state = argsOrState;
|
|
37
|
+
inputs["approvalRuleTemplateName"] = state ? state.approvalRuleTemplateName : undefined;
|
|
38
|
+
inputs["repositoryName"] = state ? state.repositoryName : undefined;
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
const args = argsOrState;
|
|
42
|
+
if ((!args || args.approvalRuleTemplateName === undefined) && !opts.urn) {
|
|
43
|
+
throw new Error("Missing required property 'approvalRuleTemplateName'");
|
|
44
|
+
}
|
|
45
|
+
if ((!args || args.repositoryName === undefined) && !opts.urn) {
|
|
46
|
+
throw new Error("Missing required property 'repositoryName'");
|
|
47
|
+
}
|
|
48
|
+
inputs["approvalRuleTemplateName"] = args ? args.approvalRuleTemplateName : undefined;
|
|
49
|
+
inputs["repositoryName"] = args ? args.repositoryName : undefined;
|
|
50
|
+
}
|
|
51
|
+
if (!opts.version) {
|
|
52
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
53
|
+
}
|
|
54
|
+
super(ApprovalRuleTemplateAssociation.__pulumiType, name, inputs, opts);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Get an existing ApprovalRuleTemplateAssociation resource's state with the given name, ID, and optional extra
|
|
58
|
+
* properties used to qualify the lookup.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resulting resource.
|
|
61
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
62
|
+
* @param state Any extra arguments used during the lookup.
|
|
63
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
64
|
+
*/
|
|
65
|
+
static get(name, id, state, opts) {
|
|
66
|
+
return new ApprovalRuleTemplateAssociation(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Returns true if the given object is an instance of ApprovalRuleTemplateAssociation. This is designed to work even
|
|
70
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
71
|
+
*/
|
|
72
|
+
static isInstance(obj) {
|
|
73
|
+
if (obj === undefined || obj === null) {
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
76
|
+
return obj['__pulumiType'] === ApprovalRuleTemplateAssociation.__pulumiType;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.ApprovalRuleTemplateAssociation = ApprovalRuleTemplateAssociation;
|
|
80
|
+
/** @internal */
|
|
81
|
+
ApprovalRuleTemplateAssociation.__pulumiType = 'aws:codecommit/approvalRuleTemplateAssociation:ApprovalRuleTemplateAssociation';
|
|
82
|
+
//# sourceMappingURL=approvalRuleTemplateAssociation.js.map
|