@pulumi/aws 5.0.0 → 5.1.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/README.md +2 -2
- package/amp/workspace.d.ts +34 -0
- package/amp/workspace.js +8 -0
- package/amp/workspace.js.map +1 -1
- package/apigateway/authorizer.d.ts +8 -0
- package/apigateway/authorizer.js +2 -0
- package/apigateway/authorizer.js.map +1 -1
- package/apigateway/vpcLink.d.ts +1 -1
- package/apigateway/vpcLink.js +1 -1
- package/appconfig/configurationProfile.d.ts +12 -0
- package/appconfig/configurationProfile.js +2 -0
- package/appconfig/configurationProfile.js.map +1 -1
- package/appconfig/hostedConfigurationVersion.d.ts +43 -1
- package/appconfig/hostedConfigurationVersion.js +43 -1
- package/appconfig/hostedConfigurationVersion.js.map +1 -1
- package/apprunner/index.d.ts +1 -0
- package/apprunner/index.js +5 -0
- package/apprunner/index.js.map +1 -1
- package/apprunner/service.d.ts +21 -3
- package/apprunner/service.js +8 -0
- package/apprunner/service.js.map +1 -1
- package/apprunner/vpcConnector.d.ts +138 -0
- package/apprunner/vpcConnector.js +100 -0
- package/apprunner/vpcConnector.js.map +1 -0
- package/appstream/user.d.ts +1 -1
- package/appstream/user.js +1 -1
- package/athena/database.d.ts +48 -12
- package/athena/database.js +9 -6
- package/athena/database.js.map +1 -1
- package/autoscaling/group.d.ts +0 -12
- package/autoscaling/group.js +0 -12
- package/autoscaling/group.js.map +1 -1
- package/autoscaling/policy.d.ts +92 -8
- package/autoscaling/policy.js +92 -8
- package/autoscaling/policy.js.map +1 -1
- package/backup/framework.d.ts +200 -0
- package/backup/framework.js +133 -0
- package/backup/framework.js.map +1 -0
- package/backup/getFramework.d.ts +91 -0
- package/backup/getFramework.js +37 -0
- package/backup/getFramework.js.map +1 -0
- package/backup/getReportPlan.d.ts +88 -0
- package/backup/getReportPlan.js +37 -0
- package/backup/getReportPlan.js.map +1 -0
- package/backup/index.d.ts +4 -0
- package/backup/index.js +12 -0
- package/backup/index.js.map +1 -1
- package/backup/reportPlan.d.ts +174 -0
- package/backup/reportPlan.js +106 -0
- package/backup/reportPlan.js.map +1 -0
- package/batch/schedulingPolicy.d.ts +0 -6
- package/batch/schedulingPolicy.js +1 -1
- package/batch/schedulingPolicy.js.map +1 -1
- package/cloud9/environmentEC2.d.ts +42 -0
- package/cloud9/environmentEC2.js +4 -0
- package/cloud9/environmentEC2.js.map +1 -1
- package/cloudformation/stackSet.d.ts +15 -3
- package/cloudformation/stackSet.js +2 -0
- package/cloudformation/stackSet.js.map +1 -1
- package/cloudformation/stackSetInstance.d.ts +12 -0
- package/cloudformation/stackSetInstance.js +2 -0
- package/cloudformation/stackSetInstance.js.map +1 -1
- package/cloudfront/distribution.d.ts +3 -3
- package/cloudfront/distribution.js +3 -3
- package/cloudtrail/eventDataStore.d.ts +219 -0
- package/cloudtrail/eventDataStore.js +131 -0
- package/cloudtrail/eventDataStore.js.map +1 -0
- package/cloudtrail/index.d.ts +1 -0
- package/cloudtrail/index.js +5 -0
- package/cloudtrail/index.js.map +1 -1
- package/codeartifact/domainPermissions.d.ts +1 -1
- package/codeartifact/domainPermissions.js +1 -1
- package/codeartifact/repositoryPermissionsPolicy.d.ts +1 -1
- package/codeartifact/repositoryPermissionsPolicy.js +1 -1
- package/cognito/getUserPools.d.ts +2 -2
- package/cognito/identityPool.d.ts +2 -2
- package/cognito/identityPool.js +2 -2
- package/cognito/identityPoolProviderPrincipalTag.d.ts +11 -11
- package/cognito/identityPoolProviderPrincipalTag.js +2 -2
- package/cognito/identityPoolRoleAttachment.d.ts +5 -5
- package/cognito/identityPoolRoleAttachment.js +2 -2
- package/cognito/identityProvider.d.ts +1 -1
- package/cognito/identityProvider.js +1 -1
- package/cognito/resourceServer.d.ts +1 -1
- package/cognito/resourceServer.js +1 -1
- package/cognito/userPool.d.ts +1 -1
- package/cognito/userPool.js +1 -1
- package/cognito/userPoolClient.d.ts +1 -1
- package/cognito/userPoolClient.js +1 -1
- package/cognito/userPoolDomain.d.ts +1 -1
- package/cognito/userPoolDomain.js +1 -1
- package/config/vars.d.ts +9 -0
- package/config/vars.js +12 -0
- package/config/vars.js.map +1 -1
- package/connect/contactFlowModule.d.ts +0 -6
- package/connect/contactFlowModule.js +1 -1
- package/connect/contactFlowModule.js.map +1 -1
- package/connect/getQueue.d.ts +124 -0
- package/connect/getQueue.js +54 -0
- package/connect/getQueue.js.map +1 -0
- package/connect/hoursOfOperation.d.ts +0 -6
- package/connect/hoursOfOperation.js +1 -1
- package/connect/hoursOfOperation.js.map +1 -1
- package/connect/index.d.ts +3 -0
- package/connect/index.js +11 -0
- package/connect/index.js.map +1 -1
- package/connect/queue.d.ts +2 -6
- package/connect/queue.js +3 -1
- package/connect/queue.js.map +1 -1
- package/connect/quickConnect.d.ts +0 -6
- package/connect/quickConnect.js +1 -1
- package/connect/quickConnect.js.map +1 -1
- package/connect/routingProfile.d.ts +204 -0
- package/connect/routingProfile.js +119 -0
- package/connect/routingProfile.js.map +1 -0
- package/connect/securityProfile.d.ts +0 -6
- package/connect/securityProfile.js +1 -1
- package/connect/securityProfile.js.map +1 -1
- package/connect/userHierarchyStructure.d.ts +117 -0
- package/connect/userHierarchyStructure.js +113 -0
- package/connect/userHierarchyStructure.js.map +1 -0
- package/dataexchange/dataSet.d.ts +0 -6
- package/dataexchange/dataSet.js +1 -1
- package/dataexchange/dataSet.js.map +1 -1
- package/dataexchange/revision.d.ts +0 -6
- package/dataexchange/revision.js +1 -1
- package/dataexchange/revision.js.map +1 -1
- package/datasync/locationFsxLustre.d.ts +0 -6
- package/datasync/locationFsxLustre.js +1 -1
- package/datasync/locationFsxLustre.js.map +1 -1
- package/datasync/locationHdfs.d.ts +0 -6
- package/datasync/locationHdfs.js +1 -1
- package/datasync/locationHdfs.js.map +1 -1
- package/detective/graph.d.ts +0 -3
- package/detective/graph.js +1 -1
- package/detective/graph.js.map +1 -1
- package/detective/invitationAccepter.d.ts +3 -3
- package/detective/invitationAccepter.js +3 -3
- package/detective/member.d.ts +1 -1
- package/detective/member.js +1 -1
- package/devicefarm/devicePool.d.ts +0 -6
- package/devicefarm/devicePool.js +1 -1
- package/devicefarm/devicePool.js.map +1 -1
- package/devicefarm/instanceProfile.d.ts +0 -6
- package/devicefarm/instanceProfile.js +1 -1
- package/devicefarm/instanceProfile.js.map +1 -1
- package/devicefarm/networkProfile.d.ts +0 -6
- package/devicefarm/networkProfile.js +1 -1
- package/devicefarm/networkProfile.js.map +1 -1
- package/devicefarm/testGridProject.d.ts +0 -6
- package/devicefarm/testGridProject.js +1 -1
- package/devicefarm/testGridProject.js.map +1 -1
- package/dms/endpoint.d.ts +64 -64
- package/dms/replicationTask.d.ts +21 -1
- package/dms/replicationTask.js +4 -0
- package/dms/replicationTask.js.map +1 -1
- package/ec2/defaultSubnet.d.ts +0 -3
- package/ec2/defaultSubnet.js +1 -1
- package/ec2/defaultSubnet.js.map +1 -1
- package/ec2/defaultVpc.d.ts +0 -3
- package/ec2/defaultVpc.js +1 -1
- package/ec2/defaultVpc.js.map +1 -1
- package/ec2/fleet.d.ts +12 -0
- package/ec2/fleet.js +2 -0
- package/ec2/fleet.js.map +1 -1
- package/ec2/getKeyPair.d.ts +6 -0
- package/ec2/getKeyPair.js.map +1 -1
- package/ec2/getLaunchTemplate.d.ts +6 -93
- package/ec2/getLaunchTemplate.js.map +1 -1
- package/ec2/getRouteTables.d.ts +1 -1
- package/ec2/getSerialConsoleAccess.d.ts +27 -0
- package/ec2/getSerialConsoleAccess.js +28 -0
- package/ec2/getSerialConsoleAccess.js.map +1 -0
- package/ec2/getVpcIamPool.d.ts +12 -1
- package/ec2/getVpcIamPool.js +12 -1
- package/ec2/getVpcIamPool.js.map +1 -1
- package/ec2/index.d.ts +6 -0
- package/ec2/index.js +26 -0
- package/ec2/index.js.map +1 -1
- package/ec2/instance.d.ts +6 -6
- package/ec2/internetGateway.d.ts +7 -7
- package/ec2/internetGatewayAttachment.d.ts +85 -0
- package/ec2/internetGatewayAttachment.js +82 -0
- package/ec2/internetGatewayAttachment.js.map +1 -0
- package/ec2/launchConfiguration.d.ts +3 -2
- package/ec2/launchConfiguration.js +3 -2
- package/ec2/launchConfiguration.js.map +1 -1
- package/ec2/launchTemplate.d.ts +18 -15
- package/ec2/launchTemplate.js +2 -0
- package/ec2/launchTemplate.js.map +1 -1
- package/ec2/networkInsightsPath.d.ts +176 -0
- package/ec2/networkInsightsPath.js +98 -0
- package/ec2/networkInsightsPath.js.map +1 -0
- package/ec2/networkInterface.d.ts +3 -3
- package/ec2/securityGroupAssociation.d.ts +87 -0
- package/ec2/securityGroupAssociation.js +74 -0
- package/ec2/securityGroupAssociation.js.map +1 -0
- package/ec2/serialConsoleAccess.d.ts +68 -0
- package/ec2/serialConsoleAccess.js +69 -0
- package/ec2/serialConsoleAccess.js.map +1 -0
- package/ec2/spotInstanceRequest.d.ts +6 -6
- package/ec2/subnet.d.ts +3 -3
- package/ec2/volumeAttachment.d.ts +1 -1
- package/ec2/volumeAttachment.js +1 -1
- package/ec2/vpc.d.ts +0 -2
- package/ec2/vpc.js.map +1 -1
- package/ec2/vpcEndpoint.d.ts +9 -15
- package/ec2/vpcEndpoint.js +0 -9
- package/ec2/vpcEndpoint.js.map +1 -1
- package/ec2/vpcEndpointPolicy.d.ts +93 -0
- package/ec2/vpcEndpointPolicy.js +96 -0
- package/ec2/vpcEndpointPolicy.js.map +1 -0
- package/ec2transitgateway/connect.d.ts +142 -0
- package/ec2transitgateway/connect.js +95 -0
- package/ec2transitgateway/connect.js.map +1 -0
- package/ec2transitgateway/connectPeer.d.ts +150 -0
- package/ec2transitgateway/connectPeer.js +100 -0
- package/ec2transitgateway/connectPeer.js.map +1 -0
- package/ec2transitgateway/getConnect.d.ts +99 -0
- package/ec2transitgateway/getConnect.js +53 -0
- package/ec2transitgateway/getConnect.js.map +1 -0
- package/ec2transitgateway/getConnectPeer.d.ts +111 -0
- package/ec2transitgateway/getConnectPeer.js +53 -0
- package/ec2transitgateway/getConnectPeer.js.map +1 -0
- package/ec2transitgateway/getMulticastDomain.d.ts +128 -0
- package/ec2transitgateway/getMulticastDomain.js +53 -0
- package/ec2transitgateway/getMulticastDomain.js.map +1 -0
- package/ec2transitgateway/getTransitGateway.d.ts +14 -6
- package/ec2transitgateway/getTransitGateway.js.map +1 -1
- package/ec2transitgateway/getVpcAttachments.d.ts +38 -0
- package/ec2transitgateway/getVpcAttachments.js +28 -0
- package/ec2transitgateway/getVpcAttachments.js.map +1 -0
- package/ec2transitgateway/index.d.ts +10 -0
- package/ec2transitgateway/index.js +34 -0
- package/ec2transitgateway/index.js.map +1 -1
- package/ec2transitgateway/multicastDomain.d.ts +237 -0
- package/ec2transitgateway/multicastDomain.js +185 -0
- package/ec2transitgateway/multicastDomain.js.map +1 -0
- package/ec2transitgateway/multicastDomainAssociation.d.ts +95 -0
- package/ec2transitgateway/multicastDomainAssociation.js +85 -0
- package/ec2transitgateway/multicastDomainAssociation.js.map +1 -0
- package/ec2transitgateway/multicastGroupMember.d.ts +89 -0
- package/ec2transitgateway/multicastGroupMember.js +79 -0
- package/ec2transitgateway/multicastGroupMember.js.map +1 -0
- package/ec2transitgateway/multicastGroupSource.d.ts +89 -0
- package/ec2transitgateway/multicastGroupSource.js +79 -0
- package/ec2transitgateway/multicastGroupSource.js.map +1 -0
- package/ec2transitgateway/transitGateway.d.ts +15 -0
- package/ec2transitgateway/transitGateway.js +4 -0
- package/ec2transitgateway/transitGateway.js.map +1 -1
- package/ecrpublic/getAuthorizationToken.d.ts +39 -0
- package/ecrpublic/getAuthorizationToken.js +28 -0
- package/ecrpublic/getAuthorizationToken.js.map +1 -0
- package/ecrpublic/index.d.ts +1 -0
- package/ecrpublic/index.js +1 -0
- package/ecrpublic/index.js.map +1 -1
- package/ecrpublic/repositoryPolicy.d.ts +1 -1
- package/ecrpublic/repositoryPolicy.js +1 -1
- package/ecs/taskSet.d.ts +0 -6
- package/ecs/taskSet.js +1 -1
- package/ecs/taskSet.js.map +1 -1
- package/eks/getNodeGroup.d.ts +4 -0
- package/eks/getNodeGroup.js.map +1 -1
- package/elasticache/replicationGroup.d.ts +6 -6
- package/elastictranscoder/preset.d.ts +1 -1
- package/emr/studio.d.ts +0 -3
- package/emr/studio.js +1 -1
- package/emr/studio.js.map +1 -1
- package/fms/policy.d.ts +51 -0
- package/fms/policy.js +9 -0
- package/fms/policy.js.map +1 -1
- package/fsx/dataRepositoryAssociation.d.ts +0 -6
- package/fsx/dataRepositoryAssociation.js +1 -1
- package/fsx/dataRepositoryAssociation.js.map +1 -1
- package/fsx/openZfsFileSystem.d.ts +0 -6
- package/fsx/openZfsFileSystem.js +1 -1
- package/fsx/openZfsFileSystem.js.map +1 -1
- package/fsx/openZfsSnapshot.d.ts +0 -6
- package/fsx/openZfsSnapshot.js +1 -1
- package/fsx/openZfsSnapshot.js.map +1 -1
- package/fsx/openZfsVolume.d.ts +0 -6
- package/fsx/openZfsVolume.js +1 -1
- package/fsx/openZfsVolume.js.map +1 -1
- package/gamelift/build.d.ts +5 -3
- package/gamelift/build.js +5 -3
- package/gamelift/build.js.map +1 -1
- package/gamelift/fleet.d.ts +57 -9
- package/gamelift/fleet.js +13 -4
- package/gamelift/fleet.js.map +1 -1
- package/gamelift/gameServerGroup.d.ts +314 -0
- package/gamelift/gameServerGroup.js +204 -0
- package/gamelift/gameServerGroup.js.map +1 -0
- package/gamelift/index.d.ts +2 -0
- package/gamelift/index.js +10 -0
- package/gamelift/index.js.map +1 -1
- package/gamelift/script.d.ts +147 -0
- package/gamelift/script.js +85 -0
- package/gamelift/script.js.map +1 -0
- package/getService.d.ts +109 -0
- package/getService.js +64 -0
- package/getService.js.map +1 -0
- package/glue/catalogDatabase.d.ts +28 -0
- package/glue/catalogDatabase.js +18 -0
- package/glue/catalogDatabase.js.map +1 -1
- package/glue/job.d.ts +21 -7
- package/glue/job.js +14 -0
- package/glue/job.js.map +1 -1
- package/glue/trigger.d.ts +12 -0
- package/glue/trigger.js +2 -0
- package/glue/trigger.js.map +1 -1
- package/grafana/getWorkspace.d.ts +115 -0
- package/grafana/getWorkspace.js +37 -0
- package/grafana/getWorkspace.js.map +1 -0
- package/grafana/index.d.ts +4 -0
- package/grafana/index.js +48 -0
- package/grafana/index.js.map +1 -0
- package/grafana/licenseAssociation.d.ts +117 -0
- package/grafana/licenseAssociation.js +102 -0
- package/grafana/licenseAssociation.js.map +1 -0
- package/grafana/workspace.d.ts +231 -0
- package/grafana/workspace.js +123 -0
- package/grafana/workspace.js.map +1 -0
- package/grafana/workspaceSamlConfiguration.d.ts +242 -0
- package/grafana/workspaceSamlConfiguration.js +123 -0
- package/grafana/workspaceSamlConfiguration.js.map +1 -0
- package/iam/getOpenidConnectProvider.d.ts +91 -0
- package/iam/getOpenidConnectProvider.js +50 -0
- package/iam/getOpenidConnectProvider.js.map +1 -0
- package/iam/index.d.ts +4 -0
- package/iam/index.js +16 -0
- package/iam/index.js.map +1 -1
- package/iam/serviceLinkedRole.d.ts +0 -6
- package/iam/serviceLinkedRole.js +1 -1
- package/iam/serviceLinkedRole.js.map +1 -1
- package/iam/serviceSpecificCredential.d.ts +120 -0
- package/iam/serviceSpecificCredential.js +89 -0
- package/iam/serviceSpecificCredential.js.map +1 -0
- package/iam/signingCertificate.d.ts +119 -0
- package/iam/signingCertificate.js +100 -0
- package/iam/signingCertificate.js.map +1 -0
- package/iam/userLoginProfile.d.ts +17 -15
- package/iam/userLoginProfile.js +2 -3
- package/iam/userLoginProfile.js.map +1 -1
- package/iam/virtualMfaDevice.d.ts +136 -0
- package/iam/virtualMfaDevice.js +86 -0
- package/iam/virtualMfaDevice.js.map +1 -0
- package/imagebuilder/containerRecipe.d.ts +296 -0
- package/imagebuilder/containerRecipe.js +145 -0
- package/imagebuilder/containerRecipe.js.map +1 -0
- package/imagebuilder/getContainerRecipe.d.ts +124 -0
- package/imagebuilder/getContainerRecipe.js +37 -0
- package/imagebuilder/getContainerRecipe.js.map +1 -0
- package/imagebuilder/getContainerRecipes.d.ts +67 -0
- package/imagebuilder/getContainerRecipes.js +42 -0
- package/imagebuilder/getContainerRecipes.js.map +1 -0
- package/imagebuilder/getImage.d.ts +5 -1
- package/imagebuilder/getImage.js.map +1 -1
- package/imagebuilder/getImagePipeline.d.ts +5 -1
- package/imagebuilder/getImagePipeline.js.map +1 -1
- package/imagebuilder/getImageRecipe.d.ts +2 -2
- package/imagebuilder/image.d.ts +17 -5
- package/imagebuilder/image.js +2 -3
- package/imagebuilder/image.js.map +1 -1
- package/imagebuilder/imagePipeline.d.ts +17 -5
- package/imagebuilder/imagePipeline.js +2 -3
- package/imagebuilder/imagePipeline.js.map +1 -1
- package/imagebuilder/imageRecipe.d.ts +15 -3
- package/imagebuilder/imageRecipe.js +2 -0
- package/imagebuilder/imageRecipe.js.map +1 -1
- package/imagebuilder/index.d.ts +3 -0
- package/imagebuilder/index.js +7 -0
- package/imagebuilder/index.js.map +1 -1
- package/index.d.ts +5 -1
- package/index.js +10 -3
- package/index.js.map +1 -1
- package/iot/certificate.d.ts +46 -6
- package/iot/certificate.js +15 -1
- package/iot/certificate.js.map +1 -1
- package/iot/topicRule.d.ts +9 -6
- package/iot/topicRule.js +2 -0
- package/iot/topicRule.js.map +1 -1
- package/kinesisanalyticsv2/application.d.ts +1 -1
- package/kinesisanalyticsv2/application.js +1 -1
- package/kms/getPublicKey.d.ts +4 -0
- package/kms/getPublicKey.js.map +1 -1
- package/kms/grant.d.ts +1 -1
- package/kms/grant.js +1 -1
- package/memorydb/acl.d.ts +0 -6
- package/memorydb/acl.js +1 -1
- package/memorydb/acl.js.map +1 -1
- package/memorydb/cluster.d.ts +0 -6
- package/memorydb/cluster.js +1 -1
- package/memorydb/cluster.js.map +1 -1
- package/memorydb/parameterGroup.d.ts +0 -6
- package/memorydb/parameterGroup.js +1 -1
- package/memorydb/parameterGroup.js.map +1 -1
- package/memorydb/snapshot.d.ts +0 -6
- package/memorydb/snapshot.js +1 -1
- package/memorydb/snapshot.js.map +1 -1
- package/memorydb/subnetGroup.d.ts +0 -6
- package/memorydb/subnetGroup.js +1 -1
- package/memorydb/subnetGroup.js.map +1 -1
- package/memorydb/user.d.ts +0 -6
- package/memorydb/user.js +1 -1
- package/memorydb/user.js.map +1 -1
- package/msk/cluster.d.ts +6 -6
- package/networkmanager/connection.d.ts +159 -0
- package/networkmanager/connection.js +99 -0
- package/networkmanager/connection.js.map +1 -0
- package/networkmanager/customerGatewayAssociation.d.ts +135 -0
- package/networkmanager/customerGatewayAssociation.js +115 -0
- package/networkmanager/customerGatewayAssociation.js.map +1 -0
- package/networkmanager/device.d.ts +195 -0
- package/networkmanager/device.js +98 -0
- package/networkmanager/device.js.map +1 -0
- package/networkmanager/getConnection.d.ts +97 -0
- package/networkmanager/getConnection.js +39 -0
- package/networkmanager/getConnection.js.map +1 -0
- package/networkmanager/getConnections.d.ts +76 -0
- package/networkmanager/getConnections.js +41 -0
- package/networkmanager/getConnections.js.map +1 -0
- package/networkmanager/getDevice.d.ts +110 -0
- package/networkmanager/getDevice.js +39 -0
- package/networkmanager/getDevice.js.map +1 -0
- package/networkmanager/getDevices.d.ts +76 -0
- package/networkmanager/getDevices.js +41 -0
- package/networkmanager/getDevices.js.map +1 -0
- package/networkmanager/getGlobalNetwork.d.ts +71 -0
- package/networkmanager/getGlobalNetwork.js +37 -0
- package/networkmanager/getGlobalNetwork.js.map +1 -0
- package/networkmanager/getGlobalNetworks.d.ts +57 -0
- package/networkmanager/getGlobalNetworks.js +39 -0
- package/networkmanager/getGlobalNetworks.js.map +1 -0
- package/networkmanager/getLink.d.ts +98 -0
- package/networkmanager/getLink.js +39 -0
- package/networkmanager/getLink.js.map +1 -0
- package/networkmanager/getLinks.d.ts +94 -0
- package/networkmanager/getLinks.js +43 -0
- package/networkmanager/getLinks.js.map +1 -0
- package/networkmanager/getSite.d.ts +86 -0
- package/networkmanager/getSite.js +39 -0
- package/networkmanager/getSite.js.map +1 -0
- package/networkmanager/getSites.d.ts +67 -0
- package/networkmanager/getSites.js +40 -0
- package/networkmanager/getSites.js.map +1 -0
- package/networkmanager/globalNetwork.d.ts +96 -0
- package/networkmanager/globalNetwork.js +77 -0
- package/networkmanager/globalNetwork.js.map +1 -0
- package/networkmanager/index.d.ts +19 -0
- package/networkmanager/index.js +87 -0
- package/networkmanager/index.js.map +1 -0
- package/networkmanager/link.d.ts +163 -0
- package/networkmanager/link.js +102 -0
- package/networkmanager/link.js.map +1 -0
- package/networkmanager/linkAssociation.d.ts +98 -0
- package/networkmanager/linkAssociation.js +88 -0
- package/networkmanager/linkAssociation.js.map +1 -0
- package/networkmanager/site.d.ts +120 -0
- package/networkmanager/site.js +83 -0
- package/networkmanager/site.js.map +1 -0
- package/networkmanager/transitGatewayConnectPeerAssociation.d.ts +109 -0
- package/networkmanager/transitGatewayConnectPeerAssociation.js +89 -0
- package/networkmanager/transitGatewayConnectPeerAssociation.js.map +1 -0
- package/networkmanager/transitGatewayRegistration.d.ts +87 -0
- package/networkmanager/transitGatewayRegistration.js +84 -0
- package/networkmanager/transitGatewayRegistration.js.map +1 -0
- package/opsworks/ecsClusterLayer.d.ts +294 -0
- package/opsworks/ecsClusterLayer.js +118 -0
- package/opsworks/ecsClusterLayer.js.map +1 -0
- package/opsworks/index.d.ts +1 -0
- package/opsworks/index.js +5 -0
- package/opsworks/index.js.map +1 -1
- package/opsworks/instance.d.ts +223 -151
- package/opsworks/instance.js +35 -45
- package/opsworks/instance.js.map +1 -1
- package/organizations/delegatedAdministrator.d.ts +2 -2
- package/organizations/delegatedAdministrator.js +2 -2
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/provider.d.ts +18 -0
- package/provider.js +2 -0
- package/provider.js.map +1 -1
- package/quicksight/user.d.ts +4 -3
- package/quicksight/user.js +1 -0
- package/quicksight/user.js.map +1 -1
- package/rds/cluster.d.ts +83 -9
- package/rds/cluster.js +34 -0
- package/rds/cluster.js.map +1 -1
- package/rds/globalCluster.d.ts +3 -157
- package/rds/globalCluster.js +0 -133
- package/rds/globalCluster.js.map +1 -1
- package/redshift/cluster.d.ts +29 -14
- package/redshift/cluster.js +4 -2
- package/redshift/cluster.js.map +1 -1
- package/redshift/getCluster.d.ts +12 -8
- package/redshift/getCluster.js +8 -8
- package/redshift/getCluster.js.map +1 -1
- package/route53/keySigningKey.d.ts +13 -4
- package/route53/keySigningKey.js +13 -4
- package/route53/keySigningKey.js.map +1 -1
- package/route53/record.d.ts +3 -12
- package/route53/record.js.map +1 -1
- package/route53domains/index.d.ts +1 -0
- package/route53domains/index.js +37 -0
- package/route53domains/index.js.map +1 -0
- package/route53domains/registeredDomain.d.ts +296 -0
- package/route53domains/registeredDomain.js +117 -0
- package/route53domains/registeredDomain.js.map +1 -0
- package/s3/bucket.d.ts +0 -6
- package/s3/bucket.js +1 -1
- package/s3/bucket.js.map +1 -1
- package/s3/bucketAccelerateConfigurationV2.d.ts +2 -2
- package/s3/bucketAccelerateConfigurationV2.js +2 -2
- package/s3/bucketAclV2.d.ts +6 -4
- package/s3/bucketAclV2.js +6 -4
- package/s3/bucketAclV2.js.map +1 -1
- package/s3/bucketCorsConfigurationV2.d.ts +4 -2
- package/s3/bucketCorsConfigurationV2.js +4 -2
- package/s3/bucketCorsConfigurationV2.js.map +1 -1
- package/s3/bucketLifecycleConfigurationV2.d.ts +2 -107
- package/s3/bucketLifecycleConfigurationV2.js +2 -107
- package/s3/bucketLifecycleConfigurationV2.js.map +1 -1
- package/s3/bucketLoggingV2.d.ts +10 -6
- package/s3/bucketLoggingV2.js +7 -3
- package/s3/bucketLoggingV2.js.map +1 -1
- package/s3/bucketObject.d.ts +1 -3
- package/s3/bucketObject.js +1 -3
- package/s3/bucketObject.js.map +1 -1
- package/s3/bucketObjectLockConfigurationV2.d.ts +22 -9
- package/s3/bucketObjectLockConfigurationV2.js +16 -6
- package/s3/bucketObjectLockConfigurationV2.js.map +1 -1
- package/s3/bucketObjectv2.d.ts +1 -9
- package/s3/bucketObjectv2.js +2 -4
- package/s3/bucketObjectv2.js.map +1 -1
- package/s3/bucketPolicy.d.ts +1 -1
- package/s3/bucketPolicy.js +1 -1
- package/s3/bucketReplicationConfig.d.ts +35 -8
- package/s3/bucketReplicationConfig.js +19 -5
- package/s3/bucketReplicationConfig.js.map +1 -1
- package/s3/bucketRequestPaymentConfigurationV2.d.ts +2 -2
- package/s3/bucketRequestPaymentConfigurationV2.js +2 -2
- package/s3/bucketServerSideEncryptionConfigurationV2.d.ts +2 -2
- package/s3/bucketServerSideEncryptionConfigurationV2.js +2 -2
- package/s3/bucketV2.d.ts +18 -66
- package/s3/bucketV2.js +2 -60
- package/s3/bucketV2.js.map +1 -1
- package/s3/bucketVersioningV2.d.ts +21 -8
- package/s3/bucketVersioningV2.js +21 -8
- package/s3/bucketVersioningV2.js.map +1 -1
- package/s3/bucketWebsiteConfigurationV2.d.ts +2 -2
- package/s3/bucketWebsiteConfigurationV2.js +2 -2
- package/sagemaker/project.d.ts +0 -6
- package/sagemaker/project.js +1 -1
- package/sagemaker/project.js.map +1 -1
- package/servicecatalog/provisionedProduct.d.ts +8 -0
- package/servicecatalog/provisionedProduct.js +2 -0
- package/servicecatalog/provisionedProduct.js.map +1 -1
- package/ses/mailFrom.d.ts +18 -4
- package/ses/mailFrom.js +15 -1
- package/ses/mailFrom.js.map +1 -1
- package/ssm/association.d.ts +26 -0
- package/ssm/association.js +4 -0
- package/ssm/association.js.map +1 -1
- package/ssm/getInstances.d.ts +53 -0
- package/ssm/getInstances.js +40 -0
- package/ssm/getInstances.js.map +1 -0
- package/ssm/index.d.ts +1 -0
- package/ssm/index.js +1 -0
- package/ssm/index.js.map +1 -1
- package/transfer/server.d.ts +24 -0
- package/transfer/server.js +4 -0
- package/transfer/server.js.map +1 -1
- package/types/input.d.ts +1513 -229
- package/types/output.d.ts +1617 -131
- package/wafv2/ruleGroup.d.ts +0 -6
- package/wafv2/ruleGroup.js +1 -1
- package/wafv2/ruleGroup.js.map +1 -1
- package/wafv2/webAcl.d.ts +0 -6
- package/wafv2/webAcl.js +1 -1
- package/wafv2/webAcl.js.map +1 -1
- package/wafv2/webAclLoggingConfiguration.d.ts +1 -1
- package/wafv2/webAclLoggingConfiguration.js +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceSpecificCredential.js","sourceRoot":"","sources":["../../iam/serviceSpecificCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IA6DhE,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,6BAA6B,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC,CAAC,SAAS,CAAC;YACtG,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAAwD,CAAC;YACtE,I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AAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;;AA1BL,8DA0FC;AA5EG,gBAAgB;AACO,sCAAY,GAAG,6DAA6D,CAAC"}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* **Using certs on file:**
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
* import * from "fs";
|
|
11
|
+
*
|
|
12
|
+
* const testCert = new aws.iam.SigningCertificate("testCert", {
|
|
13
|
+
* username: "some_test_cert",
|
|
14
|
+
* certificateBody: fs.readFileSync("self-ca-cert.pem"),
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* **Example with cert in-line:**
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as aws from "@pulumi/aws";
|
|
23
|
+
*
|
|
24
|
+
* const testCertAlt = new aws.iam.SigningCertificate("test_cert_alt", {
|
|
25
|
+
* certificateBody: `-----BEGIN CERTIFICATE-----
|
|
26
|
+
* [......] # cert contents
|
|
27
|
+
* -----END CERTIFICATE-----
|
|
28
|
+
* `,
|
|
29
|
+
* username: "some_test_cert",
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* ## Import
|
|
34
|
+
*
|
|
35
|
+
* IAM Signing Certificates can be imported using the `id`, e.g.,
|
|
36
|
+
*
|
|
37
|
+
* ```sh
|
|
38
|
+
* $ pulumi import aws:iam/signingCertificate:SigningCertificate certificate IDIDIDIDID:user-name
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare class SigningCertificate extends pulumi.CustomResource {
|
|
42
|
+
/**
|
|
43
|
+
* Get an existing SigningCertificate resource's state with the given name, ID, and optional extra
|
|
44
|
+
* properties used to qualify the lookup.
|
|
45
|
+
*
|
|
46
|
+
* @param name The _unique_ name of the resulting resource.
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SigningCertificateState, opts?: pulumi.CustomResourceOptions): SigningCertificate;
|
|
52
|
+
/**
|
|
53
|
+
* Returns true if the given object is an instance of SigningCertificate. This is designed to work even
|
|
54
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
55
|
+
*/
|
|
56
|
+
static isInstance(obj: any): obj is SigningCertificate;
|
|
57
|
+
/**
|
|
58
|
+
* The contents of the signing certificate in PEM-encoded format.
|
|
59
|
+
*/
|
|
60
|
+
readonly certificateBody: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The ID for the signing certificate.
|
|
63
|
+
*/
|
|
64
|
+
readonly certificateId: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The status you want to assign to the certificate. `Active` means that the certificate can be used for programmatic calls to Amazon Web Services `Inactive` means that the certificate cannot be used.
|
|
67
|
+
*/
|
|
68
|
+
readonly status: pulumi.Output<string | undefined>;
|
|
69
|
+
/**
|
|
70
|
+
* The name of the user the signing certificate is for.
|
|
71
|
+
*/
|
|
72
|
+
readonly userName: pulumi.Output<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Create a SigningCertificate resource with the given unique name, arguments, and options.
|
|
75
|
+
*
|
|
76
|
+
* @param name The _unique_ name of the resource.
|
|
77
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
78
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
79
|
+
*/
|
|
80
|
+
constructor(name: string, args: SigningCertificateArgs, opts?: pulumi.CustomResourceOptions);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Input properties used for looking up and filtering SigningCertificate resources.
|
|
84
|
+
*/
|
|
85
|
+
export interface SigningCertificateState {
|
|
86
|
+
/**
|
|
87
|
+
* The contents of the signing certificate in PEM-encoded format.
|
|
88
|
+
*/
|
|
89
|
+
certificateBody?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The ID for the signing certificate.
|
|
92
|
+
*/
|
|
93
|
+
certificateId?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The status you want to assign to the certificate. `Active` means that the certificate can be used for programmatic calls to Amazon Web Services `Inactive` means that the certificate cannot be used.
|
|
96
|
+
*/
|
|
97
|
+
status?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The name of the user the signing certificate is for.
|
|
100
|
+
*/
|
|
101
|
+
userName?: pulumi.Input<string>;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* The set of arguments for constructing a SigningCertificate resource.
|
|
105
|
+
*/
|
|
106
|
+
export interface SigningCertificateArgs {
|
|
107
|
+
/**
|
|
108
|
+
* The contents of the signing certificate in PEM-encoded format.
|
|
109
|
+
*/
|
|
110
|
+
certificateBody: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The status you want to assign to the certificate. `Active` means that the certificate can be used for programmatic calls to Amazon Web Services `Inactive` means that the certificate cannot be used.
|
|
113
|
+
*/
|
|
114
|
+
status?: pulumi.Input<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The name of the user the signing certificate is for.
|
|
117
|
+
*/
|
|
118
|
+
userName: pulumi.Input<string>;
|
|
119
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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.SigningCertificate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* **Using certs on file:**
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
* import * from "fs";
|
|
17
|
+
*
|
|
18
|
+
* const testCert = new aws.iam.SigningCertificate("testCert", {
|
|
19
|
+
* username: "some_test_cert",
|
|
20
|
+
* certificateBody: fs.readFileSync("self-ca-cert.pem"),
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* **Example with cert in-line:**
|
|
25
|
+
*
|
|
26
|
+
* ```typescript
|
|
27
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
28
|
+
* import * as aws from "@pulumi/aws";
|
|
29
|
+
*
|
|
30
|
+
* const testCertAlt = new aws.iam.SigningCertificate("test_cert_alt", {
|
|
31
|
+
* certificateBody: `-----BEGIN CERTIFICATE-----
|
|
32
|
+
* [......] # cert contents
|
|
33
|
+
* -----END CERTIFICATE-----
|
|
34
|
+
* `,
|
|
35
|
+
* username: "some_test_cert",
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ## Import
|
|
40
|
+
*
|
|
41
|
+
* IAM Signing Certificates can be imported using the `id`, e.g.,
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import aws:iam/signingCertificate:SigningCertificate certificate IDIDIDIDID:user-name
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
class SigningCertificate extends pulumi.CustomResource {
|
|
48
|
+
constructor(name, argsOrState, opts) {
|
|
49
|
+
let resourceInputs = {};
|
|
50
|
+
opts = opts || {};
|
|
51
|
+
if (opts.id) {
|
|
52
|
+
const state = argsOrState;
|
|
53
|
+
resourceInputs["certificateBody"] = state ? state.certificateBody : undefined;
|
|
54
|
+
resourceInputs["certificateId"] = state ? state.certificateId : undefined;
|
|
55
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
56
|
+
resourceInputs["userName"] = state ? state.userName : undefined;
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
const args = argsOrState;
|
|
60
|
+
if ((!args || args.certificateBody === undefined) && !opts.urn) {
|
|
61
|
+
throw new Error("Missing required property 'certificateBody'");
|
|
62
|
+
}
|
|
63
|
+
if ((!args || args.userName === undefined) && !opts.urn) {
|
|
64
|
+
throw new Error("Missing required property 'userName'");
|
|
65
|
+
}
|
|
66
|
+
resourceInputs["certificateBody"] = args ? args.certificateBody : undefined;
|
|
67
|
+
resourceInputs["status"] = args ? args.status : undefined;
|
|
68
|
+
resourceInputs["userName"] = args ? args.userName : undefined;
|
|
69
|
+
resourceInputs["certificateId"] = undefined /*out*/;
|
|
70
|
+
}
|
|
71
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
72
|
+
super(SigningCertificate.__pulumiType, name, resourceInputs, opts);
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Get an existing SigningCertificate resource's state with the given name, ID, and optional extra
|
|
76
|
+
* properties used to qualify the lookup.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resulting resource.
|
|
79
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
80
|
+
* @param state Any extra arguments used during the lookup.
|
|
81
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
82
|
+
*/
|
|
83
|
+
static get(name, id, state, opts) {
|
|
84
|
+
return new SigningCertificate(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Returns true if the given object is an instance of SigningCertificate. This is designed to work even
|
|
88
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
89
|
+
*/
|
|
90
|
+
static isInstance(obj) {
|
|
91
|
+
if (obj === undefined || obj === null) {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
return obj['__pulumiType'] === SigningCertificate.__pulumiType;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.SigningCertificate = SigningCertificate;
|
|
98
|
+
/** @internal */
|
|
99
|
+
SigningCertificate.__pulumiType = 'aws:iam/signingCertificate:SigningCertificate';
|
|
100
|
+
//# sourceMappingURL=signingCertificate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"signingCertificate.js","sourceRoot":"","sources":["../../iam/signingCertificate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IAqDzD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,QAAQ,CAAC,GAAG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KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,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,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;;AA1BL,gDA8EC;AAhEG,gBAAgB;AACO,+BAAY,GAAG,+CAA+C,CAAC"}
|
|
@@ -63,26 +63,27 @@ export declare class UserLoginProfile extends pulumi.CustomResource {
|
|
|
63
63
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
64
64
|
*/
|
|
65
65
|
static isInstance(obj: any): obj is UserLoginProfile;
|
|
66
|
-
/**
|
|
67
|
-
* The encrypted password, base64 encoded. Only available if password was handled on this provider resource creation, not import.
|
|
68
|
-
*/
|
|
69
66
|
readonly encryptedPassword: pulumi.Output<string>;
|
|
70
67
|
/**
|
|
71
68
|
* The fingerprint of the PGP key used to encrypt the password. Only available if password was handled on this provider resource creation, not import.
|
|
72
69
|
*/
|
|
73
70
|
readonly keyFingerprint: pulumi.Output<string>;
|
|
74
71
|
/**
|
|
75
|
-
* The
|
|
72
|
+
* The plain text password, only available when `pgpKey` is not provided.
|
|
73
|
+
*/
|
|
74
|
+
readonly password: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The length of the generated password on resource creation. Only applies on resource creation. Drift detection is not possible with this argument. Default value is `20`.
|
|
76
77
|
*/
|
|
77
78
|
readonly passwordLength: pulumi.Output<number | undefined>;
|
|
78
79
|
/**
|
|
79
|
-
* Whether the user should be forced to reset the generated password on resource creation. Only applies on resource creation.
|
|
80
|
+
* Whether the user should be forced to reset the generated password on resource creation. Only applies on resource creation.
|
|
80
81
|
*/
|
|
81
|
-
readonly passwordResetRequired: pulumi.Output<boolean
|
|
82
|
+
readonly passwordResetRequired: pulumi.Output<boolean>;
|
|
82
83
|
/**
|
|
83
84
|
* Either a base-64 encoded PGP public key, or a keybase username in the form `keybase:username`. Only applies on resource creation. Drift detection is not possible with this argument.
|
|
84
85
|
*/
|
|
85
|
-
readonly pgpKey: pulumi.Output<string>;
|
|
86
|
+
readonly pgpKey: pulumi.Output<string | undefined>;
|
|
86
87
|
/**
|
|
87
88
|
* The IAM user's name.
|
|
88
89
|
*/
|
|
@@ -100,20 +101,21 @@ export declare class UserLoginProfile extends pulumi.CustomResource {
|
|
|
100
101
|
* Input properties used for looking up and filtering UserLoginProfile resources.
|
|
101
102
|
*/
|
|
102
103
|
export interface UserLoginProfileState {
|
|
103
|
-
/**
|
|
104
|
-
* The encrypted password, base64 encoded. Only available if password was handled on this provider resource creation, not import.
|
|
105
|
-
*/
|
|
106
104
|
encryptedPassword?: pulumi.Input<string>;
|
|
107
105
|
/**
|
|
108
106
|
* The fingerprint of the PGP key used to encrypt the password. Only available if password was handled on this provider resource creation, not import.
|
|
109
107
|
*/
|
|
110
108
|
keyFingerprint?: pulumi.Input<string>;
|
|
111
109
|
/**
|
|
112
|
-
* The
|
|
110
|
+
* The plain text password, only available when `pgpKey` is not provided.
|
|
111
|
+
*/
|
|
112
|
+
password?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The length of the generated password on resource creation. Only applies on resource creation. Drift detection is not possible with this argument. Default value is `20`.
|
|
113
115
|
*/
|
|
114
116
|
passwordLength?: pulumi.Input<number>;
|
|
115
117
|
/**
|
|
116
|
-
* Whether the user should be forced to reset the generated password on resource creation. Only applies on resource creation.
|
|
118
|
+
* Whether the user should be forced to reset the generated password on resource creation. Only applies on resource creation.
|
|
117
119
|
*/
|
|
118
120
|
passwordResetRequired?: pulumi.Input<boolean>;
|
|
119
121
|
/**
|
|
@@ -130,17 +132,17 @@ export interface UserLoginProfileState {
|
|
|
130
132
|
*/
|
|
131
133
|
export interface UserLoginProfileArgs {
|
|
132
134
|
/**
|
|
133
|
-
* The length of the generated password on resource creation. Only applies on resource creation. Drift detection is not possible with this argument.
|
|
135
|
+
* The length of the generated password on resource creation. Only applies on resource creation. Drift detection is not possible with this argument. Default value is `20`.
|
|
134
136
|
*/
|
|
135
137
|
passwordLength?: pulumi.Input<number>;
|
|
136
138
|
/**
|
|
137
|
-
* Whether the user should be forced to reset the generated password on resource creation. Only applies on resource creation.
|
|
139
|
+
* Whether the user should be forced to reset the generated password on resource creation. Only applies on resource creation.
|
|
138
140
|
*/
|
|
139
141
|
passwordResetRequired?: pulumi.Input<boolean>;
|
|
140
142
|
/**
|
|
141
143
|
* Either a base-64 encoded PGP public key, or a keybase username in the form `keybase:username`. Only applies on resource creation. Drift detection is not possible with this argument.
|
|
142
144
|
*/
|
|
143
|
-
pgpKey
|
|
145
|
+
pgpKey?: pulumi.Input<string>;
|
|
144
146
|
/**
|
|
145
147
|
* The IAM user's name.
|
|
146
148
|
*/
|
package/iam/userLoginProfile.js
CHANGED
|
@@ -61,6 +61,7 @@ class UserLoginProfile extends pulumi.CustomResource {
|
|
|
61
61
|
const state = argsOrState;
|
|
62
62
|
resourceInputs["encryptedPassword"] = state ? state.encryptedPassword : undefined;
|
|
63
63
|
resourceInputs["keyFingerprint"] = state ? state.keyFingerprint : undefined;
|
|
64
|
+
resourceInputs["password"] = state ? state.password : undefined;
|
|
64
65
|
resourceInputs["passwordLength"] = state ? state.passwordLength : undefined;
|
|
65
66
|
resourceInputs["passwordResetRequired"] = state ? state.passwordResetRequired : undefined;
|
|
66
67
|
resourceInputs["pgpKey"] = state ? state.pgpKey : undefined;
|
|
@@ -68,9 +69,6 @@ class UserLoginProfile extends pulumi.CustomResource {
|
|
|
68
69
|
}
|
|
69
70
|
else {
|
|
70
71
|
const args = argsOrState;
|
|
71
|
-
if ((!args || args.pgpKey === undefined) && !opts.urn) {
|
|
72
|
-
throw new Error("Missing required property 'pgpKey'");
|
|
73
|
-
}
|
|
74
72
|
if ((!args || args.user === undefined) && !opts.urn) {
|
|
75
73
|
throw new Error("Missing required property 'user'");
|
|
76
74
|
}
|
|
@@ -80,6 +78,7 @@ class UserLoginProfile extends pulumi.CustomResource {
|
|
|
80
78
|
resourceInputs["user"] = args ? args.user : undefined;
|
|
81
79
|
resourceInputs["encryptedPassword"] = undefined /*out*/;
|
|
82
80
|
resourceInputs["keyFingerprint"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["password"] = undefined /*out*/;
|
|
83
82
|
}
|
|
84
83
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
84
|
super(UserLoginProfile.__pulumiType, name, resourceInputs, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userLoginProfile.js","sourceRoot":"","sources":["../../iam/userLoginProfile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"userLoginProfile.js","sourceRoot":"","sources":["../../iam/userLoginProfile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IA8DvD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,mBAAmB,CAAC,GAAG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
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as aws from "@pulumi/aws";
|
|
10
|
+
*
|
|
11
|
+
* const example = new aws.iam.VirtualMfaDevice("example", {
|
|
12
|
+
* virtualMfaDeviceName: "example",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* ## Import
|
|
17
|
+
*
|
|
18
|
+
* IAM Virtual MFA Devices can be imported using the `arn`, e.g.,
|
|
19
|
+
*
|
|
20
|
+
* ```sh
|
|
21
|
+
* $ pulumi import aws:iam/virtualMfaDevice:VirtualMfaDevice example arn:aws:iam::123456789012:mfa/example
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
export declare class VirtualMfaDevice extends pulumi.CustomResource {
|
|
25
|
+
/**
|
|
26
|
+
* Get an existing VirtualMfaDevice resource's state with the given name, ID, and optional extra
|
|
27
|
+
* properties used to qualify the lookup.
|
|
28
|
+
*
|
|
29
|
+
* @param name The _unique_ name of the resulting resource.
|
|
30
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
31
|
+
* @param state Any extra arguments used during the lookup.
|
|
32
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
33
|
+
*/
|
|
34
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: VirtualMfaDeviceState, opts?: pulumi.CustomResourceOptions): VirtualMfaDevice;
|
|
35
|
+
/**
|
|
36
|
+
* Returns true if the given object is an instance of VirtualMfaDevice. This is designed to work even
|
|
37
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
38
|
+
*/
|
|
39
|
+
static isInstance(obj: any): obj is VirtualMfaDevice;
|
|
40
|
+
/**
|
|
41
|
+
* The Amazon Resource Name (ARN) specifying the virtual mfa device.
|
|
42
|
+
*/
|
|
43
|
+
readonly arn: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* The base32 seed defined as specified in [RFC3548](https://tools.ietf.org/html/rfc3548.txt). The `base32StringSeed` is base64-encoded.
|
|
46
|
+
*/
|
|
47
|
+
readonly base32StringSeed: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The path for the virtual MFA device.
|
|
50
|
+
*/
|
|
51
|
+
readonly path: pulumi.Output<string | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* A QR code PNG image that encodes `otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String` where `$virtualMFADeviceName` is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID otherwise), and Base32String is the seed in base32 format.
|
|
54
|
+
*/
|
|
55
|
+
readonly qrCodePng: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Map of resource tags for the virtual mfa device. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
58
|
+
*/
|
|
59
|
+
readonly tags: pulumi.Output<{
|
|
60
|
+
[key: string]: string;
|
|
61
|
+
} | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
64
|
+
*/
|
|
65
|
+
readonly tagsAll: pulumi.Output<{
|
|
66
|
+
[key: string]: string;
|
|
67
|
+
}>;
|
|
68
|
+
/**
|
|
69
|
+
* The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.
|
|
70
|
+
*/
|
|
71
|
+
readonly virtualMfaDeviceName: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* Create a VirtualMfaDevice resource with the given unique name, arguments, and options.
|
|
74
|
+
*
|
|
75
|
+
* @param name The _unique_ name of the resource.
|
|
76
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
77
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
78
|
+
*/
|
|
79
|
+
constructor(name: string, args: VirtualMfaDeviceArgs, opts?: pulumi.CustomResourceOptions);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Input properties used for looking up and filtering VirtualMfaDevice resources.
|
|
83
|
+
*/
|
|
84
|
+
export interface VirtualMfaDeviceState {
|
|
85
|
+
/**
|
|
86
|
+
* The Amazon Resource Name (ARN) specifying the virtual mfa device.
|
|
87
|
+
*/
|
|
88
|
+
arn?: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The base32 seed defined as specified in [RFC3548](https://tools.ietf.org/html/rfc3548.txt). The `base32StringSeed` is base64-encoded.
|
|
91
|
+
*/
|
|
92
|
+
base32StringSeed?: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* The path for the virtual MFA device.
|
|
95
|
+
*/
|
|
96
|
+
path?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* A QR code PNG image that encodes `otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String` where `$virtualMFADeviceName` is one of the create call arguments. AccountName is the user name if set (otherwise, the account ID otherwise), and Base32String is the seed in base32 format.
|
|
99
|
+
*/
|
|
100
|
+
qrCodePng?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Map of resource tags for the virtual mfa device. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
103
|
+
*/
|
|
104
|
+
tags?: pulumi.Input<{
|
|
105
|
+
[key: string]: pulumi.Input<string>;
|
|
106
|
+
}>;
|
|
107
|
+
/**
|
|
108
|
+
* A map of tags assigned to the resource, including those inherited from the provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block).
|
|
109
|
+
*/
|
|
110
|
+
tagsAll?: pulumi.Input<{
|
|
111
|
+
[key: string]: pulumi.Input<string>;
|
|
112
|
+
}>;
|
|
113
|
+
/**
|
|
114
|
+
* The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.
|
|
115
|
+
*/
|
|
116
|
+
virtualMfaDeviceName?: pulumi.Input<string>;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* The set of arguments for constructing a VirtualMfaDevice resource.
|
|
120
|
+
*/
|
|
121
|
+
export interface VirtualMfaDeviceArgs {
|
|
122
|
+
/**
|
|
123
|
+
* The path for the virtual MFA device.
|
|
124
|
+
*/
|
|
125
|
+
path?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* Map of resource tags for the virtual mfa device. If configured with a provider [`defaultTags` configuration block](https://www.terraform.io/docs/providers/aws/index.html#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.
|
|
128
|
+
*/
|
|
129
|
+
tags?: pulumi.Input<{
|
|
130
|
+
[key: string]: pulumi.Input<string>;
|
|
131
|
+
}>;
|
|
132
|
+
/**
|
|
133
|
+
* The name of the virtual MFA device. Use with path to uniquely identify a virtual MFA device.
|
|
134
|
+
*/
|
|
135
|
+
virtualMfaDeviceName: pulumi.Input<string>;
|
|
136
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
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.VirtualMfaDevice = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* **Using certs on file:**
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as aws from "@pulumi/aws";
|
|
16
|
+
*
|
|
17
|
+
* const example = new aws.iam.VirtualMfaDevice("example", {
|
|
18
|
+
* virtualMfaDeviceName: "example",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* IAM Virtual MFA Devices can be imported using the `arn`, e.g.,
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import aws:iam/virtualMfaDevice:VirtualMfaDevice example arn:aws:iam::123456789012:mfa/example
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
class VirtualMfaDevice extends pulumi.CustomResource {
|
|
31
|
+
constructor(name, argsOrState, opts) {
|
|
32
|
+
let resourceInputs = {};
|
|
33
|
+
opts = opts || {};
|
|
34
|
+
if (opts.id) {
|
|
35
|
+
const state = argsOrState;
|
|
36
|
+
resourceInputs["arn"] = state ? state.arn : undefined;
|
|
37
|
+
resourceInputs["base32StringSeed"] = state ? state.base32StringSeed : undefined;
|
|
38
|
+
resourceInputs["path"] = state ? state.path : undefined;
|
|
39
|
+
resourceInputs["qrCodePng"] = state ? state.qrCodePng : undefined;
|
|
40
|
+
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
41
|
+
resourceInputs["tagsAll"] = state ? state.tagsAll : undefined;
|
|
42
|
+
resourceInputs["virtualMfaDeviceName"] = state ? state.virtualMfaDeviceName : undefined;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
const args = argsOrState;
|
|
46
|
+
if ((!args || args.virtualMfaDeviceName === undefined) && !opts.urn) {
|
|
47
|
+
throw new Error("Missing required property 'virtualMfaDeviceName'");
|
|
48
|
+
}
|
|
49
|
+
resourceInputs["path"] = args ? args.path : undefined;
|
|
50
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
51
|
+
resourceInputs["virtualMfaDeviceName"] = args ? args.virtualMfaDeviceName : undefined;
|
|
52
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["base32StringSeed"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["qrCodePng"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
56
|
+
}
|
|
57
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
58
|
+
super(VirtualMfaDevice.__pulumiType, name, resourceInputs, opts);
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Get an existing VirtualMfaDevice 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, id, state, opts) {
|
|
70
|
+
return new VirtualMfaDevice(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Returns true if the given object is an instance of VirtualMfaDevice. This is designed to work even
|
|
74
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
75
|
+
*/
|
|
76
|
+
static isInstance(obj) {
|
|
77
|
+
if (obj === undefined || obj === null) {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
return obj['__pulumiType'] === VirtualMfaDevice.__pulumiType;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
exports.VirtualMfaDevice = VirtualMfaDevice;
|
|
84
|
+
/** @internal */
|
|
85
|
+
VirtualMfaDevice.__pulumiType = 'aws:iam/virtualMfaDevice:VirtualMfaDevice';
|
|
86
|
+
//# sourceMappingURL=virtualMfaDevice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"virtualMfaDevice.js","sourceRoot":"","sources":["../../iam/virtualMfaDevice.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CA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