@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/ecr/index.js
CHANGED
|
@@ -21,13 +21,17 @@ __exportStar(require("./getImage"), exports);
|
|
|
21
21
|
__exportStar(require("./getRepository"), exports);
|
|
22
22
|
__exportStar(require("./lifecyclePolicy"), exports);
|
|
23
23
|
__exportStar(require("./lifecyclePolicyDocument"), exports);
|
|
24
|
+
__exportStar(require("./pullThroughCacheRule"), exports);
|
|
24
25
|
__exportStar(require("./registryPolicy"), exports);
|
|
26
|
+
__exportStar(require("./registryScanningConfiguration"), exports);
|
|
25
27
|
__exportStar(require("./replicationConfiguration"), exports);
|
|
26
28
|
__exportStar(require("./repository"), exports);
|
|
27
29
|
__exportStar(require("./repositoryPolicy"), exports);
|
|
28
30
|
// Import resources to register:
|
|
29
31
|
const lifecyclePolicy_1 = require("./lifecyclePolicy");
|
|
32
|
+
const pullThroughCacheRule_1 = require("./pullThroughCacheRule");
|
|
30
33
|
const registryPolicy_1 = require("./registryPolicy");
|
|
34
|
+
const registryScanningConfiguration_1 = require("./registryScanningConfiguration");
|
|
31
35
|
const replicationConfiguration_1 = require("./replicationConfiguration");
|
|
32
36
|
const repository_1 = require("./repository");
|
|
33
37
|
const repositoryPolicy_1 = require("./repositoryPolicy");
|
|
@@ -37,8 +41,12 @@ const _module = {
|
|
|
37
41
|
switch (type) {
|
|
38
42
|
case "aws:ecr/lifecyclePolicy:LifecyclePolicy":
|
|
39
43
|
return new lifecyclePolicy_1.LifecyclePolicy(name, undefined, { urn });
|
|
44
|
+
case "aws:ecr/pullThroughCacheRule:PullThroughCacheRule":
|
|
45
|
+
return new pullThroughCacheRule_1.PullThroughCacheRule(name, undefined, { urn });
|
|
40
46
|
case "aws:ecr/registryPolicy:RegistryPolicy":
|
|
41
47
|
return new registryPolicy_1.RegistryPolicy(name, undefined, { urn });
|
|
48
|
+
case "aws:ecr/registryScanningConfiguration:RegistryScanningConfiguration":
|
|
49
|
+
return new registryScanningConfiguration_1.RegistryScanningConfiguration(name, undefined, { urn });
|
|
42
50
|
case "aws:ecr/replicationConfiguration:ReplicationConfiguration":
|
|
43
51
|
return new replicationConfiguration_1.ReplicationConfiguration(name, undefined, { urn });
|
|
44
52
|
case "aws:ecr/repository:Repository":
|
|
@@ -51,7 +59,9 @@ const _module = {
|
|
|
51
59
|
},
|
|
52
60
|
};
|
|
53
61
|
pulumi.runtime.registerResourceModule("aws", "ecr/lifecyclePolicy", _module);
|
|
62
|
+
pulumi.runtime.registerResourceModule("aws", "ecr/pullThroughCacheRule", _module);
|
|
54
63
|
pulumi.runtime.registerResourceModule("aws", "ecr/registryPolicy", _module);
|
|
64
|
+
pulumi.runtime.registerResourceModule("aws", "ecr/registryScanningConfiguration", _module);
|
|
55
65
|
pulumi.runtime.registerResourceModule("aws", "ecr/replicationConfiguration", _module);
|
|
56
66
|
pulumi.runtime.registerResourceModule("aws", "ecr/repository", _module);
|
|
57
67
|
pulumi.runtime.registerResourceModule("aws", "ecr/repositoryPolicy", _module);
|
package/ecr/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ecr/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,0DAAwC;AACxC,mDAAiC;AACjC,6CAA2B;AAC3B,kDAAgC;AAChC,oDAAkC;AAClC,4DAA0C;AAC1C,mDAAiC;AACjC,6DAA2C;AAC3C,+CAA6B;AAC7B,qDAAmC;AAEnC,gCAAgC;AAChC,uDAAoD;AACpD,qDAAkD;AAClD,yEAAsE;AACtE,6CAA0C;AAC1C,yDAAsD;AAEtD,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,yCAAyC;gBAC1C,OAAO,IAAI,iCAAe,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC7D,KAAK,uCAAuC;gBACxC,OAAO,IAAI,+BAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D,KAAK,2DAA2D;gBAC5D,OAAO,IAAI,mDAAwB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtE,KAAK,+BAA+B;gBAChC,OAAO,IAAI,uBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,2CAA2C;gBAC5C,OAAO,IAAI,mCAAgB,CAAC,IAAI,EAAO,SAAS,E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AAK,EAAE,8BAA8B,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AACvE,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Provides an Elastic Container Registry Pull Through Cache Rule.
|
|
4
|
+
*
|
|
5
|
+
* More information about pull through cache rules, including the set of supported
|
|
6
|
+
* upstream repositories, see [Using pull through cache rules](https://docs.aws.amazon.com/AmazonECR/latest/userguide/pull-through-cache.html).
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as aws from "@pulumi/aws";
|
|
13
|
+
*
|
|
14
|
+
* const example = new aws.ecr.PullThroughCacheRule("example", {
|
|
15
|
+
* ecrRepositoryPrefix: "ecr-public",
|
|
16
|
+
* upstreamRegistryUrl: "public.ecr.aws",
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Import
|
|
21
|
+
*
|
|
22
|
+
* Use the `ecr_repository_prefix` to import a Pull Through Cache Rule. For example
|
|
23
|
+
*
|
|
24
|
+
* ```sh
|
|
25
|
+
* $ pulumi import aws:ecr/pullThroughCacheRule:PullThroughCacheRule example ecr-public
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class PullThroughCacheRule extends pulumi.CustomResource {
|
|
29
|
+
/**
|
|
30
|
+
* Get an existing PullThroughCacheRule resource's state with the given name, ID, and optional extra
|
|
31
|
+
* properties used to qualify the lookup.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resulting resource.
|
|
34
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
35
|
+
* @param state Any extra arguments used during the lookup.
|
|
36
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
37
|
+
*/
|
|
38
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PullThroughCacheRuleState, opts?: pulumi.CustomResourceOptions): PullThroughCacheRule;
|
|
39
|
+
/**
|
|
40
|
+
* Returns true if the given object is an instance of PullThroughCacheRule. This is designed to work even
|
|
41
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
42
|
+
*/
|
|
43
|
+
static isInstance(obj: any): obj is PullThroughCacheRule;
|
|
44
|
+
/**
|
|
45
|
+
* The repository name prefix to use when caching images from the source registry.
|
|
46
|
+
*/
|
|
47
|
+
readonly ecrRepositoryPrefix: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The registry ID where the repository was created.
|
|
50
|
+
*/
|
|
51
|
+
readonly registryId: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The registry URL of the upstream public registry to use as the source.
|
|
54
|
+
*/
|
|
55
|
+
readonly upstreamRegistryUrl: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Create a PullThroughCacheRule resource with the given unique name, arguments, and options.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resource.
|
|
60
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
61
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
62
|
+
*/
|
|
63
|
+
constructor(name: string, args: PullThroughCacheRuleArgs, opts?: pulumi.CustomResourceOptions);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Input properties used for looking up and filtering PullThroughCacheRule resources.
|
|
67
|
+
*/
|
|
68
|
+
export interface PullThroughCacheRuleState {
|
|
69
|
+
/**
|
|
70
|
+
* The repository name prefix to use when caching images from the source registry.
|
|
71
|
+
*/
|
|
72
|
+
ecrRepositoryPrefix?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The registry ID where the repository was created.
|
|
75
|
+
*/
|
|
76
|
+
registryId?: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* The registry URL of the upstream public registry to use as the source.
|
|
79
|
+
*/
|
|
80
|
+
upstreamRegistryUrl?: pulumi.Input<string>;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The set of arguments for constructing a PullThroughCacheRule resource.
|
|
84
|
+
*/
|
|
85
|
+
export interface PullThroughCacheRuleArgs {
|
|
86
|
+
/**
|
|
87
|
+
* The repository name prefix to use when caching images from the source registry.
|
|
88
|
+
*/
|
|
89
|
+
ecrRepositoryPrefix: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The registry URL of the upstream public registry to use as the source.
|
|
92
|
+
*/
|
|
93
|
+
upstreamRegistryUrl: pulumi.Input<string>;
|
|
94
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.PullThroughCacheRule = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides an Elastic Container Registry Pull Through Cache Rule.
|
|
10
|
+
*
|
|
11
|
+
* More information about pull through cache rules, including the set of supported
|
|
12
|
+
* upstream repositories, see [Using pull through cache rules](https://docs.aws.amazon.com/AmazonECR/latest/userguide/pull-through-cache.html).
|
|
13
|
+
*
|
|
14
|
+
* ## Example Usage
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as aws from "@pulumi/aws";
|
|
19
|
+
*
|
|
20
|
+
* const example = new aws.ecr.PullThroughCacheRule("example", {
|
|
21
|
+
* ecrRepositoryPrefix: "ecr-public",
|
|
22
|
+
* upstreamRegistryUrl: "public.ecr.aws",
|
|
23
|
+
* });
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* ## Import
|
|
27
|
+
*
|
|
28
|
+
* Use the `ecr_repository_prefix` to import a Pull Through Cache Rule. For example
|
|
29
|
+
*
|
|
30
|
+
* ```sh
|
|
31
|
+
* $ pulumi import aws:ecr/pullThroughCacheRule:PullThroughCacheRule example ecr-public
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
class PullThroughCacheRule extends pulumi.CustomResource {
|
|
35
|
+
constructor(name, argsOrState, opts) {
|
|
36
|
+
let inputs = {};
|
|
37
|
+
opts = opts || {};
|
|
38
|
+
if (opts.id) {
|
|
39
|
+
const state = argsOrState;
|
|
40
|
+
inputs["ecrRepositoryPrefix"] = state ? state.ecrRepositoryPrefix : undefined;
|
|
41
|
+
inputs["registryId"] = state ? state.registryId : undefined;
|
|
42
|
+
inputs["upstreamRegistryUrl"] = state ? state.upstreamRegistryUrl : undefined;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
const args = argsOrState;
|
|
46
|
+
if ((!args || args.ecrRepositoryPrefix === undefined) && !opts.urn) {
|
|
47
|
+
throw new Error("Missing required property 'ecrRepositoryPrefix'");
|
|
48
|
+
}
|
|
49
|
+
if ((!args || args.upstreamRegistryUrl === undefined) && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'upstreamRegistryUrl'");
|
|
51
|
+
}
|
|
52
|
+
inputs["ecrRepositoryPrefix"] = args ? args.ecrRepositoryPrefix : undefined;
|
|
53
|
+
inputs["upstreamRegistryUrl"] = args ? args.upstreamRegistryUrl : undefined;
|
|
54
|
+
inputs["registryId"] = undefined /*out*/;
|
|
55
|
+
}
|
|
56
|
+
if (!opts.version) {
|
|
57
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
58
|
+
}
|
|
59
|
+
super(PullThroughCacheRule.__pulumiType, name, inputs, opts);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Get an existing PullThroughCacheRule resource's state with the given name, ID, and optional extra
|
|
63
|
+
* properties used to qualify the lookup.
|
|
64
|
+
*
|
|
65
|
+
* @param name The _unique_ name of the resulting resource.
|
|
66
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
67
|
+
* @param state Any extra arguments used during the lookup.
|
|
68
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
69
|
+
*/
|
|
70
|
+
static get(name, id, state, opts) {
|
|
71
|
+
return new PullThroughCacheRule(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Returns true if the given object is an instance of PullThroughCacheRule. This is designed to work even
|
|
75
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
76
|
+
*/
|
|
77
|
+
static isInstance(obj) {
|
|
78
|
+
if (obj === undefined || obj === null) {
|
|
79
|
+
return false;
|
|
80
|
+
}
|
|
81
|
+
return obj['__pulumiType'] === PullThroughCacheRule.__pulumiType;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
exports.PullThroughCacheRule = PullThroughCacheRule;
|
|
85
|
+
/** @internal */
|
|
86
|
+
PullThroughCacheRule.__pulumiType = 'aws:ecr/pullThroughCacheRule:PullThroughCacheRule';
|
|
87
|
+
//# sourceMappingURL=pullThroughCacheRule.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pullThroughCacheRule.js","sourceRoot":"","sources":["../../ecr/pullThroughCacheRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAiD3D,YAAY,IAAY,EAAE,WAAkE,EAAE,IAAmC;QAC7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C,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,oBAAoB,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;IAxED;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiC,EAAE,IAAmC;QAC/H,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;;AA1BL,oDA0EC;AA5DG,gBAAgB;AACO,iCAAY,GAAG,mDAAmD,CAAC"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "../types";
|
|
3
|
+
/**
|
|
4
|
+
* Provides an Elastic Container Registry Scanning Configuration. Can't be completely deleted, instead reverts to the default `BASIC` scanning configuration without rules.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
* ### Basic example
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as aws from "@pulumi/aws";
|
|
12
|
+
*
|
|
13
|
+
* const configuration = new aws.ecr.RegistryScanningConfiguration("configuration", {
|
|
14
|
+
* rules: [{
|
|
15
|
+
* repositoryFilters: [{
|
|
16
|
+
* filter: "example",
|
|
17
|
+
* filterType: "WILDCARD",
|
|
18
|
+
* }],
|
|
19
|
+
* scanFrequency: "CONTINUOUS_SCAN",
|
|
20
|
+
* }],
|
|
21
|
+
* scanType: "ENHANCED",
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
* ### Multiple rules
|
|
25
|
+
*
|
|
26
|
+
* ```typescript
|
|
27
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
28
|
+
* import * as aws from "@pulumi/aws";
|
|
29
|
+
*
|
|
30
|
+
* const test = new aws.ecr.RegistryScanningConfiguration("test", {
|
|
31
|
+
* rules: [
|
|
32
|
+
* {
|
|
33
|
+
* repositoryFilters: [{
|
|
34
|
+
* filter: "*",
|
|
35
|
+
* filterType: "WILDCARD",
|
|
36
|
+
* }],
|
|
37
|
+
* scanFrequency: "SCAN_ON_PUSH",
|
|
38
|
+
* },
|
|
39
|
+
* {
|
|
40
|
+
* repositoryFilters: [{
|
|
41
|
+
* filter: "example",
|
|
42
|
+
* filterType: "WILDCARD",
|
|
43
|
+
* }],
|
|
44
|
+
* scanFrequency: "CONTINUOUS_SCAN",
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* scanType: "ENHANCED",
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* ## Import
|
|
52
|
+
*
|
|
53
|
+
* ECR Scanning Configurations can be imported using the `registry_id`, e.g.,
|
|
54
|
+
*
|
|
55
|
+
* ```sh
|
|
56
|
+
* $ pulumi import aws:ecr/registryScanningConfiguration:RegistryScanningConfiguration aws_ecr_registry_scanning_configuration 012345678901
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
59
|
+
export declare class RegistryScanningConfiguration extends pulumi.CustomResource {
|
|
60
|
+
/**
|
|
61
|
+
* Get an existing RegistryScanningConfiguration resource's state with the given name, ID, and optional extra
|
|
62
|
+
* properties used to qualify the lookup.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resulting resource.
|
|
65
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
66
|
+
* @param state Any extra arguments used during the lookup.
|
|
67
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
68
|
+
*/
|
|
69
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RegistryScanningConfigurationState, opts?: pulumi.CustomResourceOptions): RegistryScanningConfiguration;
|
|
70
|
+
/**
|
|
71
|
+
* Returns true if the given object is an instance of RegistryScanningConfiguration. This is designed to work even
|
|
72
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
73
|
+
*/
|
|
74
|
+
static isInstance(obj: any): obj is RegistryScanningConfiguration;
|
|
75
|
+
/**
|
|
76
|
+
* The registry ID the scanning configuration applies to.
|
|
77
|
+
*/
|
|
78
|
+
readonly registryId: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* One or multiple blocks specifying scanning rules to determine which repository filters are used and at what frequency scanning will occur. See below for schema.
|
|
81
|
+
*/
|
|
82
|
+
readonly rules: pulumi.Output<outputs.ecr.RegistryScanningConfigurationRule[] | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* the scanning type to set for the registry. Can be either `ENHANCED` or `BASIC`.
|
|
85
|
+
*/
|
|
86
|
+
readonly scanType: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Create a RegistryScanningConfiguration resource with the given unique name, arguments, and options.
|
|
89
|
+
*
|
|
90
|
+
* @param name The _unique_ name of the resource.
|
|
91
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
92
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
93
|
+
*/
|
|
94
|
+
constructor(name: string, args: RegistryScanningConfigurationArgs, opts?: pulumi.CustomResourceOptions);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Input properties used for looking up and filtering RegistryScanningConfiguration resources.
|
|
98
|
+
*/
|
|
99
|
+
export interface RegistryScanningConfigurationState {
|
|
100
|
+
/**
|
|
101
|
+
* The registry ID the scanning configuration applies to.
|
|
102
|
+
*/
|
|
103
|
+
registryId?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* One or multiple blocks specifying scanning rules to determine which repository filters are used and at what frequency scanning will occur. See below for schema.
|
|
106
|
+
*/
|
|
107
|
+
rules?: pulumi.Input<pulumi.Input<inputs.ecr.RegistryScanningConfigurationRule>[]>;
|
|
108
|
+
/**
|
|
109
|
+
* the scanning type to set for the registry. Can be either `ENHANCED` or `BASIC`.
|
|
110
|
+
*/
|
|
111
|
+
scanType?: pulumi.Input<string>;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* The set of arguments for constructing a RegistryScanningConfiguration resource.
|
|
115
|
+
*/
|
|
116
|
+
export interface RegistryScanningConfigurationArgs {
|
|
117
|
+
/**
|
|
118
|
+
* One or multiple blocks specifying scanning rules to determine which repository filters are used and at what frequency scanning will occur. See below for schema.
|
|
119
|
+
*/
|
|
120
|
+
rules?: pulumi.Input<pulumi.Input<inputs.ecr.RegistryScanningConfigurationRule>[]>;
|
|
121
|
+
/**
|
|
122
|
+
* the scanning type to set for the registry. Can be either `ENHANCED` or `BASIC`.
|
|
123
|
+
*/
|
|
124
|
+
scanType: pulumi.Input<string>;
|
|
125
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
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.RegistryScanningConfiguration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Provides an Elastic Container Registry Scanning Configuration. Can't be completely deleted, instead reverts to the default `BASIC` scanning configuration without rules.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
* ### Basic example
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as aws from "@pulumi/aws";
|
|
17
|
+
*
|
|
18
|
+
* const configuration = new aws.ecr.RegistryScanningConfiguration("configuration", {
|
|
19
|
+
* rules: [{
|
|
20
|
+
* repositoryFilters: [{
|
|
21
|
+
* filter: "example",
|
|
22
|
+
* filterType: "WILDCARD",
|
|
23
|
+
* }],
|
|
24
|
+
* scanFrequency: "CONTINUOUS_SCAN",
|
|
25
|
+
* }],
|
|
26
|
+
* scanType: "ENHANCED",
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
29
|
+
* ### Multiple rules
|
|
30
|
+
*
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
33
|
+
* import * as aws from "@pulumi/aws";
|
|
34
|
+
*
|
|
35
|
+
* const test = new aws.ecr.RegistryScanningConfiguration("test", {
|
|
36
|
+
* rules: [
|
|
37
|
+
* {
|
|
38
|
+
* repositoryFilters: [{
|
|
39
|
+
* filter: "*",
|
|
40
|
+
* filterType: "WILDCARD",
|
|
41
|
+
* }],
|
|
42
|
+
* scanFrequency: "SCAN_ON_PUSH",
|
|
43
|
+
* },
|
|
44
|
+
* {
|
|
45
|
+
* repositoryFilters: [{
|
|
46
|
+
* filter: "example",
|
|
47
|
+
* filterType: "WILDCARD",
|
|
48
|
+
* }],
|
|
49
|
+
* scanFrequency: "CONTINUOUS_SCAN",
|
|
50
|
+
* },
|
|
51
|
+
* ],
|
|
52
|
+
* scanType: "ENHANCED",
|
|
53
|
+
* });
|
|
54
|
+
* ```
|
|
55
|
+
*
|
|
56
|
+
* ## Import
|
|
57
|
+
*
|
|
58
|
+
* ECR Scanning Configurations can be imported using the `registry_id`, e.g.,
|
|
59
|
+
*
|
|
60
|
+
* ```sh
|
|
61
|
+
* $ pulumi import aws:ecr/registryScanningConfiguration:RegistryScanningConfiguration aws_ecr_registry_scanning_configuration 012345678901
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
class RegistryScanningConfiguration extends pulumi.CustomResource {
|
|
65
|
+
constructor(name, argsOrState, opts) {
|
|
66
|
+
let inputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (opts.id) {
|
|
69
|
+
const state = argsOrState;
|
|
70
|
+
inputs["registryId"] = state ? state.registryId : undefined;
|
|
71
|
+
inputs["rules"] = state ? state.rules : undefined;
|
|
72
|
+
inputs["scanType"] = state ? state.scanType : undefined;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
const args = argsOrState;
|
|
76
|
+
if ((!args || args.scanType === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'scanType'");
|
|
78
|
+
}
|
|
79
|
+
inputs["rules"] = args ? args.rules : undefined;
|
|
80
|
+
inputs["scanType"] = args ? args.scanType : undefined;
|
|
81
|
+
inputs["registryId"] = undefined /*out*/;
|
|
82
|
+
}
|
|
83
|
+
if (!opts.version) {
|
|
84
|
+
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
85
|
+
}
|
|
86
|
+
super(RegistryScanningConfiguration.__pulumiType, name, inputs, opts);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Get an existing RegistryScanningConfiguration resource's state with the given name, ID, and optional extra
|
|
90
|
+
* properties used to qualify the lookup.
|
|
91
|
+
*
|
|
92
|
+
* @param name The _unique_ name of the resulting resource.
|
|
93
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
94
|
+
* @param state Any extra arguments used during the lookup.
|
|
95
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
96
|
+
*/
|
|
97
|
+
static get(name, id, state, opts) {
|
|
98
|
+
return new RegistryScanningConfiguration(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Returns true if the given object is an instance of RegistryScanningConfiguration. This is designed to work even
|
|
102
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
103
|
+
*/
|
|
104
|
+
static isInstance(obj) {
|
|
105
|
+
if (obj === undefined || obj === null) {
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
return obj['__pulumiType'] === RegistryScanningConfiguration.__pulumiType;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.RegistryScanningConfiguration = RegistryScanningConfiguration;
|
|
112
|
+
/** @internal */
|
|
113
|
+
RegistryScanningConfiguration.__pulumiType = 'aws:ecr/registryScanningConfiguration:RegistryScanningConfiguration';
|
|
114
|
+
//# sourceMappingURL=registryScanningConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"registryScanningConfiguration.js","sourceRoot":"","sources":["../../ecr/registryScanningConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IAiDpE,YAAY,IAAY,EAAE,WAAoF,EAAE,IAAmC;QAC/I,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6D,CAAC;YAC5E,MAAM,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,MAAM,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAClD,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAA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/repository.d.ts
CHANGED
|
@@ -69,6 +69,9 @@ export declare class Repository extends pulumi.CustomResource {
|
|
|
69
69
|
* The URL of the repository (in the form `aws_account_id.dkr.ecr.region.amazonaws.com/repositoryName`).
|
|
70
70
|
*/
|
|
71
71
|
readonly repositoryUrl: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
74
|
+
*/
|
|
72
75
|
readonly tags: pulumi.Output<{
|
|
73
76
|
[key: string]: string;
|
|
74
77
|
} | undefined>;
|
|
@@ -119,6 +122,9 @@ export interface RepositoryState {
|
|
|
119
122
|
* The URL of the repository (in the form `aws_account_id.dkr.ecr.region.amazonaws.com/repositoryName`).
|
|
120
123
|
*/
|
|
121
124
|
repositoryUrl?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
127
|
+
*/
|
|
122
128
|
tags?: pulumi.Input<{
|
|
123
129
|
[key: string]: pulumi.Input<string>;
|
|
124
130
|
}>;
|
|
@@ -149,6 +155,9 @@ export interface RepositoryArgs {
|
|
|
149
155
|
* Name of the repository.
|
|
150
156
|
*/
|
|
151
157
|
name?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
160
|
+
*/
|
|
152
161
|
tags?: pulumi.Input<{
|
|
153
162
|
[key: string]: pulumi.Input<string>;
|
|
154
163
|
}>;
|
package/ecr/repository.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repository.js","sourceRoot":"","sources":["../../ecr/repository.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;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AU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,CAAC;IACvD,CAAC;IAtGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;;AA1BL,gCAwGC;AA1FG,gBAAgB;AACO,uBAAY,GAAG,+BAA+B,CAAC"}
|
package/ecrpublic/index.d.ts
CHANGED
package/ecrpublic/index.js
CHANGED
|
@@ -16,18 +16,23 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
16
16
|
const utilities = require("../utilities");
|
|
17
17
|
// Export members:
|
|
18
18
|
__exportStar(require("./repository"), exports);
|
|
19
|
+
__exportStar(require("./repositoryPolicy"), exports);
|
|
19
20
|
// Import resources to register:
|
|
20
21
|
const repository_1 = require("./repository");
|
|
22
|
+
const repositoryPolicy_1 = require("./repositoryPolicy");
|
|
21
23
|
const _module = {
|
|
22
24
|
version: utilities.getVersion(),
|
|
23
25
|
construct: (name, type, urn) => {
|
|
24
26
|
switch (type) {
|
|
25
27
|
case "aws:ecrpublic/repository:Repository":
|
|
26
28
|
return new repository_1.Repository(name, undefined, { urn });
|
|
29
|
+
case "aws:ecrpublic/repositoryPolicy:RepositoryPolicy":
|
|
30
|
+
return new repositoryPolicy_1.RepositoryPolicy(name, undefined, { urn });
|
|
27
31
|
default:
|
|
28
32
|
throw new Error(`unknown resource type ${type}`);
|
|
29
33
|
}
|
|
30
34
|
},
|
|
31
35
|
};
|
|
32
36
|
pulumi.runtime.registerResourceModule("aws", "ecrpublic/repository", _module);
|
|
37
|
+
pulumi.runtime.registerResourceModule("aws", "ecrpublic/repositoryPolicy", _module);
|
|
33
38
|
//# sourceMappingURL=index.js.map
|
package/ecrpublic/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ecrpublic/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,+CAA6B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../ecrpublic/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,+CAA6B;AAC7B,qDAAmC;AAEnC,gCAAgC;AAChC,6CAA0C;AAC1C,yDAAsD;AAEtD,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,qCAAqC;gBACtC,OAAO,IAAI,uBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,iDAAiD;gBAClD,OAAO,IAAI,mCAAgB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC9D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,sBAAsB,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,KAAK,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA"}
|