@pulumi/aws 7.41.0-alpha.1786020512 → 7.41.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/amp/anomalyDetector.d.ts +264 -0
- package/amp/anomalyDetector.d.ts.map +1 -0
- package/amp/anomalyDetector.js +186 -0
- package/amp/anomalyDetector.js.map +1 -0
- package/amp/index.d.ts +6 -0
- package/amp/index.d.ts.map +1 -1
- package/amp/index.js +11 -1
- package/amp/index.js.map +1 -1
- package/amp/scraper.d.ts +75 -21
- package/amp/scraper.d.ts.map +1 -1
- package/amp/scraper.js +41 -2
- package/amp/scraper.js.map +1 -1
- package/amp/scraperLoggingConfiguration.d.ts +177 -0
- package/amp/scraperLoggingConfiguration.d.ts.map +1 -0
- package/amp/scraperLoggingConfiguration.js +167 -0
- package/amp/scraperLoggingConfiguration.js.map +1 -0
- package/apigateway/account.d.ts +6 -6
- package/apigateway/apiKey.d.ts +3 -3
- package/apigateway/authorizer.d.ts +3 -6
- package/apigateway/authorizer.d.ts.map +1 -1
- package/apigateway/authorizer.js.map +1 -1
- package/apigateway/basePathMapping.d.ts +3 -3
- package/apigateway/clientCertificate.d.ts +2 -2
- package/apigateway/documentationPart.d.ts +2 -2
- package/apigateway/domainNameAccessAssociation.d.ts +9 -9
- package/apigateway/integration.d.ts +18 -45
- package/apigateway/integration.d.ts.map +1 -1
- package/apigateway/integration.js.map +1 -1
- package/apigateway/method.d.ts +6 -15
- package/apigateway/method.d.ts.map +1 -1
- package/apigateway/method.js.map +1 -1
- package/apigateway/methodResponse.d.ts +18 -24
- package/apigateway/methodResponse.d.ts.map +1 -1
- package/apigateway/methodResponse.js.map +1 -1
- package/apigateway/stage.d.ts +4 -10
- package/apigateway/stage.d.ts.map +1 -1
- package/apigateway/stage.js.map +1 -1
- package/apigateway/usagePlan.d.ts +11 -11
- package/apigateway/vpcLink.d.ts +6 -0
- package/apigateway/vpcLink.d.ts.map +1 -1
- package/apigateway/vpcLink.js.map +1 -1
- package/apigatewayv2/api.d.ts +31 -48
- package/apigatewayv2/api.d.ts.map +1 -1
- package/apigatewayv2/api.js +2 -0
- package/apigatewayv2/api.js.map +1 -1
- package/apigatewayv2/apiMapping.d.ts +3 -3
- package/apigatewayv2/authorizer.d.ts +24 -60
- package/apigatewayv2/authorizer.d.ts.map +1 -1
- package/apigatewayv2/authorizer.js.map +1 -1
- package/apigatewayv2/getApi.d.ts +3 -3
- package/apigatewayv2/integration.d.ts +23 -47
- package/apigatewayv2/integration.d.ts.map +1 -1
- package/apigatewayv2/integration.js.map +1 -1
- package/apigatewayv2/integrationResponse.d.ts +3 -3
- package/apigatewayv2/model.d.ts +3 -3
- package/apigatewayv2/route.d.ts +15 -24
- package/apigatewayv2/route.d.ts.map +1 -1
- package/apigatewayv2/route.js.map +1 -1
- package/apigatewayv2/routeResponse.d.ts +3 -3
- package/apigatewayv2/routingRule.d.ts +3 -3
- package/apigatewayv2/stage.d.ts +10 -22
- package/apigatewayv2/stage.d.ts.map +1 -1
- package/apigatewayv2/stage.js.map +1 -1
- package/appautoscaling/target.d.ts +5 -5
- package/appconfig/configurationProfile.d.ts +8 -8
- package/appconfig/deployment.d.ts +6 -6
- package/appconfig/environment.d.ts +2 -4
- package/appconfig/environment.d.ts.map +1 -1
- package/appconfig/environment.js.map +1 -1
- package/appconfig/extension.d.ts +11 -11
- package/appconfig/extensionAssociation.d.ts +11 -11
- package/appfabric/appAuthorization.d.ts +54 -24
- package/appfabric/appAuthorization.d.ts.map +1 -1
- package/appfabric/appAuthorization.js.map +1 -1
- package/appfabric/appAuthorizationConnection.d.ts +17 -11
- package/appfabric/appAuthorizationConnection.d.ts.map +1 -1
- package/appfabric/appAuthorizationConnection.js.map +1 -1
- package/appfabric/appBundle.d.ts +3 -3
- package/appfabric/ingestion.d.ts +3 -6
- package/appfabric/ingestion.d.ts.map +1 -1
- package/appfabric/ingestion.js.map +1 -1
- package/appfabric/ingestionDestination.d.ts +18 -12
- package/appfabric/ingestionDestination.d.ts.map +1 -1
- package/appfabric/ingestionDestination.js.map +1 -1
- package/appflow/connectorProfile.d.ts +24 -18
- package/appflow/connectorProfile.d.ts.map +1 -1
- package/appflow/connectorProfile.js.map +1 -1
- package/appflow/flow.d.ts +23 -23
- package/appintegrations/dataIntegration.d.ts +19 -19
- package/appintegrations/getEventIntegration.d.ts +6 -6
- package/applicationinsights/application.d.ts +6 -6
- package/appmesh/route.d.ts +3 -3
- package/appmesh/virtualNode.d.ts +3 -3
- package/apprunner/autoScalingConfigurationVersion.d.ts +14 -2
- package/apprunner/autoScalingConfigurationVersion.d.ts.map +1 -1
- package/apprunner/autoScalingConfigurationVersion.js.map +1 -1
- package/apprunner/customDomainAssociation.d.ts +2 -2
- package/apprunner/defaultAutoScalingConfigurationVersion.d.ts +3 -3
- package/apprunner/deployment.d.ts +7 -7
- package/apprunner/observabilityConfiguration.d.ts +5 -5
- package/apprunner/service.d.ts +20 -26
- package/apprunner/service.d.ts.map +1 -1
- package/apprunner/service.js.map +1 -1
- package/apprunner/vpcConnector.d.ts +2 -2
- package/apprunner/vpcIngressConnection.d.ts +15 -15
- package/appstream/fleet.d.ts +3 -3
- package/appstream/getImage.d.ts +4 -4
- package/appstream/stack.d.ts +15 -30
- package/appstream/stack.d.ts.map +1 -1
- package/appstream/stack.js.map +1 -1
- package/appsync/api.d.ts +9 -3
- package/appsync/api.d.ts.map +1 -1
- package/appsync/api.js.map +1 -1
- package/appsync/apiKey.d.ts +6 -0
- package/appsync/apiKey.d.ts.map +1 -1
- package/appsync/apiKey.js.map +1 -1
- package/appsync/channelNamespace.d.ts +9 -9
- package/appsync/domainName.d.ts +3 -3
- package/appsync/function.d.ts +9 -9
- package/appsync/graphQLApi.d.ts +6 -6
- package/appsync/resolver.d.ts +15 -15
- package/appsync/sourceApiAssociation.d.ts +9 -0
- package/appsync/sourceApiAssociation.d.ts.map +1 -1
- package/appsync/sourceApiAssociation.js.map +1 -1
- package/appsync/type.d.ts +12 -12
- package/bedrock/agentcoreMemoryStrategy.d.ts +3 -3
- package/directconnect/connection.d.ts +8 -0
- package/directconnect/connection.d.ts.map +1 -1
- package/directconnect/connection.js +2 -0
- package/directconnect/connection.js.map +1 -1
- package/ec2/flowLog.d.ts +14 -20
- package/ec2/flowLog.d.ts.map +1 -1
- package/ec2/flowLog.js.map +1 -1
- package/ecs/accountSettingDefault.d.ts +6 -0
- package/ecs/accountSettingDefault.d.ts.map +1 -1
- package/ecs/accountSettingDefault.js.map +1 -1
- package/ecs/expressGatewayService.d.ts +80 -0
- package/ecs/expressGatewayService.d.ts.map +1 -1
- package/ecs/expressGatewayService.js +62 -0
- package/ecs/expressGatewayService.js.map +1 -1
- package/ecs/getCluster.d.ts +2 -2
- package/ecs/getTaskDefinition.d.ts +3 -3
- package/ecs/getTaskExecution.d.ts +23 -23
- package/ecs/service.d.ts +5 -5
- package/ecs/taskDefinition.d.ts +9 -9
- package/ecs/taskSet.d.ts +43 -43
- package/elb/appCookieStickinessPolicy.d.ts +6 -15
- package/elb/appCookieStickinessPolicy.d.ts.map +1 -1
- package/elb/appCookieStickinessPolicy.js.map +1 -1
- package/finspace/kxCluster.d.ts +51 -60
- package/finspace/kxCluster.d.ts.map +1 -1
- package/finspace/kxCluster.js.map +1 -1
- package/finspace/kxDataview.d.ts +35 -44
- package/finspace/kxDataview.d.ts.map +1 -1
- package/finspace/kxDataview.js.map +1 -1
- package/finspace/kxEnvironment.d.ts +6 -6
- package/finspace/kxEnvironment.d.ts.map +1 -1
- package/finspace/kxScalingGroup.d.ts +23 -39
- package/finspace/kxScalingGroup.d.ts.map +1 -1
- package/finspace/kxScalingGroup.js.map +1 -1
- package/finspace/kxUser.d.ts +9 -9
- package/finspace/kxUser.d.ts.map +1 -1
- package/finspace/kxVolume.d.ts +39 -54
- package/finspace/kxVolume.d.ts.map +1 -1
- package/finspace/kxVolume.js.map +1 -1
- package/fis/experimentTemplate.d.ts +9 -9
- package/fis/getExperimentTemplates.d.ts +2 -4
- package/fis/getExperimentTemplates.d.ts.map +1 -1
- package/fis/getExperimentTemplates.js.map +1 -1
- package/fms/adminAccount.d.ts +3 -3
- package/fms/policy.d.ts +49 -34
- package/fms/policy.d.ts.map +1 -1
- package/fms/policy.js.map +1 -1
- package/fms/resourceSet.d.ts +12 -3
- package/fms/resourceSet.d.ts.map +1 -1
- package/fms/resourceSet.js.map +1 -1
- package/fsx/backup.d.ts +15 -21
- package/fsx/backup.d.ts.map +1 -1
- package/fsx/backup.js.map +1 -1
- package/fsx/dataRepositoryAssociation.d.ts +23 -20
- package/fsx/dataRepositoryAssociation.d.ts.map +1 -1
- package/fsx/dataRepositoryAssociation.js.map +1 -1
- package/fsx/fileCache.d.ts +48 -51
- package/fsx/fileCache.d.ts.map +1 -1
- package/fsx/getOntapFileSystem.d.ts +20 -20
- package/fsx/getOntapStorageVirtualMachine.d.ts +22 -13
- package/fsx/getOntapStorageVirtualMachine.d.ts.map +1 -1
- package/fsx/getOntapStorageVirtualMachine.js +4 -0
- package/fsx/getOntapStorageVirtualMachine.js.map +1 -1
- package/fsx/getOpenZfsSnapshot.d.ts +2 -4
- package/fsx/getOpenZfsSnapshot.d.ts.map +1 -1
- package/fsx/getOpenZfsSnapshot.js.map +1 -1
- package/fsx/getWindowsFileSystem.d.ts +30 -18
- package/fsx/getWindowsFileSystem.d.ts.map +1 -1
- package/fsx/getWindowsFileSystem.js.map +1 -1
- package/fsx/lustreFileSystem.d.ts +55 -61
- package/fsx/lustreFileSystem.d.ts.map +1 -1
- package/fsx/lustreFileSystem.js.map +1 -1
- package/fsx/ontapFileSystem.d.ts +51 -57
- package/fsx/ontapFileSystem.d.ts.map +1 -1
- package/fsx/ontapFileSystem.js.map +1 -1
- package/fsx/ontapStorageVirtualMachine.d.ts +23 -23
- package/fsx/ontapVolume.d.ts +65 -65
- package/fsx/openZfsFileSystem.d.ts +44 -44
- package/fsx/openZfsSnapshot.d.ts +17 -11
- package/fsx/openZfsSnapshot.d.ts.map +1 -1
- package/fsx/openZfsSnapshot.js.map +1 -1
- package/fsx/openZfsVolume.d.ts +38 -29
- package/fsx/openZfsVolume.d.ts.map +1 -1
- package/fsx/openZfsVolume.js.map +1 -1
- package/fsx/windowsFileSystem.d.ts +52 -52
- package/glue/catalogTableOptimizer.d.ts +7 -0
- package/glue/catalogTableOptimizer.d.ts.map +1 -1
- package/glue/catalogTableOptimizer.js +7 -0
- package/glue/catalogTableOptimizer.js.map +1 -1
- package/iam/user.d.ts +3 -3
- package/mailmanager/index.d.ts +3 -0
- package/mailmanager/index.d.ts.map +1 -1
- package/mailmanager/index.js +6 -1
- package/mailmanager/index.js.map +1 -1
- package/mailmanager/ruleSet.d.ts +179 -0
- package/mailmanager/ruleSet.d.ts.map +1 -0
- package/mailmanager/ruleSet.js +130 -0
- package/mailmanager/ruleSet.js.map +1 -0
- package/odb/cloudAutonomousVmCluster.d.ts +114 -114
- package/odb/cloudAutonomousVmCluster.d.ts.map +1 -1
- package/odb/cloudExadataInfrastructure.d.ts +86 -86
- package/odb/cloudExadataInfrastructure.d.ts.map +1 -1
- package/odb/cloudVmCluster.d.ts +117 -119
- package/odb/cloudVmCluster.d.ts.map +1 -1
- package/odb/cloudVmCluster.js.map +1 -1
- package/odb/getCloudAutonomousVmCluster.d.ts +50 -50
- package/odb/getCloudExadataInfrastructure.d.ts +44 -38
- package/odb/getCloudExadataInfrastructure.d.ts.map +1 -1
- package/odb/getCloudExadataInfrastructure.js.map +1 -1
- package/odb/getCloudVmCluster.d.ts +49 -40
- package/odb/getCloudVmCluster.d.ts.map +1 -1
- package/odb/getCloudVmCluster.js.map +1 -1
- package/odb/getDbNode.d.ts +32 -29
- package/odb/getDbNode.d.ts.map +1 -1
- package/odb/getDbNode.js.map +1 -1
- package/odb/getDbNodes.d.ts +3 -3
- package/odb/getDbServer.d.ts +22 -22
- package/odb/getDbServers.d.ts +2 -2
- package/odb/getDbSystemShapes.d.ts +3 -3
- package/odb/getGiVersions.d.ts +2 -2
- package/odb/getNetwork.d.ts +23 -17
- package/odb/getNetwork.d.ts.map +1 -1
- package/odb/getNetwork.js.map +1 -1
- package/odb/getNetworkPeeringConnection.d.ts +3 -3
- package/odb/getNetworkPeeringConnections.d.ts +1 -1
- package/odb/network.d.ts +72 -72
- package/odb/networkPeeringConnection.d.ts +25 -19
- package/odb/networkPeeringConnection.d.ts.map +1 -1
- package/odb/networkPeeringConnection.js.map +1 -1
- package/opensearchingest/resourcePolicy.d.ts +0 -11
- package/opensearchingest/resourcePolicy.d.ts.map +1 -1
- package/opensearchingest/resourcePolicy.js +0 -11
- package/opensearchingest/resourcePolicy.js.map +1 -1
- package/package.json +2 -2
- package/ram/getResourceShare.d.ts +5 -5
- package/ram/permission.d.ts +20 -20
- package/ram/principalAssociation.d.ts +6 -6
- package/ram/resourceShare.d.ts +19 -19
- package/ram/resourceShareAccepter.d.ts +17 -17
- package/ram/resourceShareAssociationsExclusive.d.ts +12 -30
- package/ram/resourceShareAssociationsExclusive.d.ts.map +1 -1
- package/ram/resourceShareAssociationsExclusive.js.map +1 -1
- package/rds/getCluster.d.ts +1 -0
- package/rds/getCluster.d.ts.map +1 -1
- package/rds/getCluster.js.map +1 -1
- package/resiliencehub/index.d.ts +3 -0
- package/resiliencehub/index.d.ts.map +1 -1
- package/resiliencehub/index.js +6 -1
- package/resiliencehub/index.js.map +1 -1
- package/resiliencehub/v2policy.d.ts +259 -0
- package/resiliencehub/v2policy.d.ts.map +1 -0
- package/resiliencehub/v2policy.js +172 -0
- package/resiliencehub/v2policy.js.map +1 -0
- package/s3/accessPoint.d.ts +6 -8
- package/s3/accessPoint.d.ts.map +1 -1
- package/s3/accessPoint.js.map +1 -1
- package/s3/accountPublicAccessBlock.d.ts +12 -27
- package/s3/accountPublicAccessBlock.d.ts.map +1 -1
- package/s3/accountPublicAccessBlock.js.map +1 -1
- package/s3/bucket.d.ts +46 -97
- package/s3/bucket.d.ts.map +1 -1
- package/s3/bucket.js +2 -2
- package/s3/bucket.js.map +1 -1
- package/s3/bucketAbac.d.ts +6 -6
- package/s3/bucketAbac.d.ts.map +1 -1
- package/s3/bucketAcl.d.ts +3 -3
- package/s3/bucketAclV2.d.ts +3 -3
- package/s3/bucketIntelligentTieringConfiguration.d.ts +9 -9
- package/s3/bucketLifecycleConfiguration.d.ts +3 -3
- package/s3/bucketLifecycleConfigurationV2.d.ts +3 -3
- package/s3/bucketMetric.d.ts +3 -3
- package/s3/bucketObject.d.ts +8 -12
- package/s3/bucketObject.d.ts.map +1 -1
- package/s3/bucketObject.js +2 -0
- package/s3/bucketObject.js.map +1 -1
- package/s3/bucketObjectLockConfiguration.d.ts +6 -9
- package/s3/bucketObjectLockConfiguration.d.ts.map +1 -1
- package/s3/bucketObjectLockConfiguration.js.map +1 -1
- package/s3/bucketObjectLockConfigurationV2.d.ts +6 -9
- package/s3/bucketObjectLockConfigurationV2.d.ts.map +1 -1
- package/s3/bucketObjectLockConfigurationV2.js.map +1 -1
- package/s3/bucketObjectv2.d.ts +19 -19
- package/s3/bucketPublicAccessBlock.d.ts +12 -27
- package/s3/bucketPublicAccessBlock.d.ts.map +1 -1
- package/s3/bucketPublicAccessBlock.js.map +1 -1
- package/s3/bucketReplicationConfig.d.ts +3 -27
- package/s3/bucketReplicationConfig.d.ts.map +1 -1
- package/s3/bucketReplicationConfig.js.map +1 -1
- package/s3/bucketRequestPaymentConfiguration.d.ts +3 -3
- package/s3/bucketRequestPaymentConfigurationV2.d.ts +3 -3
- package/s3/bucketV2.d.ts +46 -97
- package/s3/bucketV2.d.ts.map +1 -1
- package/s3/bucketV2.js +2 -2
- package/s3/bucketV2.js.map +1 -1
- package/s3/bucketWebsiteConfiguration.d.ts +3 -6
- package/s3/bucketWebsiteConfiguration.d.ts.map +1 -1
- package/s3/bucketWebsiteConfiguration.js.map +1 -1
- package/s3/bucketWebsiteConfigurationV2.d.ts +3 -6
- package/s3/bucketWebsiteConfigurationV2.d.ts.map +1 -1
- package/s3/bucketWebsiteConfigurationV2.js.map +1 -1
- package/s3/getAccessPoint.d.ts +1 -1
- package/s3/getBucket.d.ts +2 -2
- package/s3/getBucketObject.d.ts +14 -5
- package/s3/getBucketObject.d.ts.map +1 -1
- package/s3/getBucketObject.js.map +1 -1
- package/s3/getBucketObjectLockConfiguration.d.ts +1 -1
- package/s3/getBucketObjects.d.ts +2 -2
- package/s3/getBucketReplicationConfiguration.d.ts +4 -4
- package/s3/getObject.d.ts +14 -8
- package/s3/getObject.d.ts.map +1 -1
- package/s3/getObject.js.map +1 -1
- package/s3/inventory.d.ts +18 -12
- package/s3/inventory.d.ts.map +1 -1
- package/s3/inventory.js.map +1 -1
- package/s3/objectCopy.d.ts +76 -67
- package/s3/objectCopy.d.ts.map +1 -1
- package/s3/objectCopy.js.map +1 -1
- package/s3/vectorsIndex.d.ts +8 -8
- package/s3/vectorsVectorBucket.d.ts +2 -2
- package/s3/vectorsVectorBucketPolicy.d.ts +3 -3
- package/s3control/accessGrant.d.ts +19 -19
- package/s3control/accessGrantsInstance.d.ts +10 -10
- package/s3control/accessGrantsInstanceResourcePolicy.d.ts +6 -6
- package/s3control/accessGrantsLocation.d.ts +11 -14
- package/s3control/accessGrantsLocation.d.ts.map +1 -1
- package/s3control/accessGrantsLocation.js.map +1 -1
- package/s3control/accessPointPolicy.d.ts +8 -8
- package/s3control/bucket.d.ts +2 -2
- package/s3control/bucketLifecycleConfiguration.d.ts +3 -3
- package/s3control/directoryBucketAccessPointScope.d.ts +6 -6
- package/s3control/getAccessPoints.d.ts +1 -1
- package/s3control/getMultiRegionAccessPoint.d.ts +9 -9
- package/s3control/multiRegionAccessPoint.d.ts +8 -6
- package/s3control/multiRegionAccessPoint.d.ts.map +1 -1
- package/s3control/multiRegionAccessPoint.js +2 -0
- package/s3control/multiRegionAccessPoint.js.map +1 -1
- package/s3control/multiRegionAccessPointPolicy.d.ts +10 -10
- package/s3control/objectLambdaAccessPoint.d.ts +9 -9
- package/s3control/objectLambdaAccessPointPolicy.d.ts +11 -11
- package/s3control/storageLensConfiguration.d.ts +11 -11
- package/s3outposts/endpoint.d.ts +3 -3
- package/s3tables/namespace.d.ts +3 -9
- package/s3tables/namespace.d.ts.map +1 -1
- package/s3tables/namespace.js.map +1 -1
- package/s3tables/table.d.ts +22 -51
- package/s3tables/table.d.ts.map +1 -1
- package/s3tables/table.js.map +1 -1
- package/s3tables/tableBucket.d.ts +11 -26
- package/s3tables/tableBucket.d.ts.map +1 -1
- package/s3tables/tableBucket.js.map +1 -1
- package/s3tables/tableBucketReplication.d.ts +6 -0
- package/s3tables/tableBucketReplication.d.ts.map +1 -1
- package/s3tables/tableBucketReplication.js.map +1 -1
- package/s3tables/tablePolicy.d.ts +6 -18
- package/s3tables/tablePolicy.d.ts.map +1 -1
- package/s3tables/tablePolicy.js.map +1 -1
- package/s3tables/tableReplication.d.ts +6 -0
- package/s3tables/tableReplication.d.ts.map +1 -1
- package/s3tables/tableReplication.js.map +1 -1
- package/secretsmanager/getRandomPassword.d.ts +12 -12
- package/secretsmanager/getSecretRotation.d.ts +3 -3
- package/secretsmanager/getSecretVersion.d.ts +11 -9
- package/secretsmanager/getSecretVersion.d.ts.map +1 -1
- package/secretsmanager/getSecretVersion.js.map +1 -1
- package/secretsmanager/getSecretVersions.d.ts +7 -13
- package/secretsmanager/getSecretVersions.d.ts.map +1 -1
- package/secretsmanager/getSecretVersions.js.map +1 -1
- package/secretsmanager/secret.d.ts +3 -3
- package/secretsmanager/secretRotation.d.ts +14 -14
- package/secretsmanager/secretVersion.d.ts +27 -23
- package/secretsmanager/secretVersion.d.ts.map +1 -1
- package/secretsmanager/secretVersion.js.map +1 -1
- package/types/input.d.ts +2362 -1622
- package/types/input.d.ts.map +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +2463 -1740
- package/types/output.d.ts.map +1 -1
- package/types/output.js.map +1 -1
- package/vpclattice/accessLogSubscription.d.ts +12 -3
- package/vpclattice/accessLogSubscription.d.ts.map +1 -1
- package/vpclattice/accessLogSubscription.js.map +1 -1
- package/vpclattice/authPolicy.d.ts +9 -9
- package/vpclattice/domainVerification.d.ts +15 -15
- package/vpclattice/getAuthPolicy.d.ts +8 -8
- package/vpclattice/getListener.d.ts +9 -9
- package/vpclattice/getServiceNetwork.d.ts +9 -0
- package/vpclattice/getServiceNetwork.d.ts.map +1 -1
- package/vpclattice/getServiceNetwork.js.map +1 -1
- package/vpclattice/listener.d.ts +9 -3
- package/vpclattice/listener.d.ts.map +1 -1
- package/vpclattice/listener.js.map +1 -1
- package/vpclattice/listenerRule.d.ts +26 -32
- package/vpclattice/listenerRule.d.ts.map +1 -1
- package/vpclattice/listenerRule.js.map +1 -1
- package/vpclattice/resourceConfiguration.d.ts +3 -3
- package/vpclattice/resourceGateway.d.ts +6 -6
- package/vpclattice/resourcePolicy.d.ts +6 -6
- package/vpclattice/serviceNetworkResourceAssociation.d.ts +3 -3
- package/vpclattice/serviceNetworkServiceAssociation.d.ts +16 -16
- package/vpclattice/serviceNetworkVpcAssociation.d.ts +15 -18
- package/vpclattice/serviceNetworkVpcAssociation.d.ts.map +1 -1
- package/vpclattice/serviceNetworkVpcAssociation.js.map +1 -1
- package/vpclattice/targetGroup.d.ts +9 -9
- package/vpclattice/targetGroupAttachment.d.ts +6 -6
package/amp/scraper.d.ts
CHANGED
|
@@ -88,6 +88,34 @@ import * as outputs from "../types/output";
|
|
|
88
88
|
* });
|
|
89
89
|
* ```
|
|
90
90
|
*
|
|
91
|
+
* ### CloudWatch Destination
|
|
92
|
+
*
|
|
93
|
+
* ```typescript
|
|
94
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
95
|
+
* import * as aws from "@pulumi/aws";
|
|
96
|
+
*
|
|
97
|
+
* const example = new aws.amp.Scraper("example", {
|
|
98
|
+
* source: {
|
|
99
|
+
* eks: {
|
|
100
|
+
* clusterArn: exampleAwsEksCluster.arn,
|
|
101
|
+
* subnetIds: exampleAwsEksCluster.vpcConfig[0].subnetIds,
|
|
102
|
+
* },
|
|
103
|
+
* },
|
|
104
|
+
* destination: {
|
|
105
|
+
* cloudwatch: {
|
|
106
|
+
* datasetArn: "arn:aws:cloudwatch:us-west-2:123456789012:dataset/default",
|
|
107
|
+
* },
|
|
108
|
+
* },
|
|
109
|
+
* scrapeConfiguration: `global:
|
|
110
|
+
* scrape_interval: 30s
|
|
111
|
+
* scrape_configs:
|
|
112
|
+
* - job_name: pod_exporter
|
|
113
|
+
* kubernetes_sd_configs:
|
|
114
|
+
* - role: pod
|
|
115
|
+
* `,
|
|
116
|
+
* });
|
|
117
|
+
* ```
|
|
118
|
+
*
|
|
91
119
|
* ### VPC Configuration
|
|
92
120
|
*
|
|
93
121
|
* ```typescript
|
|
@@ -227,11 +255,22 @@ import * as outputs from "../types/output";
|
|
|
227
255
|
*
|
|
228
256
|
* ## Import
|
|
229
257
|
*
|
|
230
|
-
*
|
|
258
|
+
* ### Identity Schema
|
|
259
|
+
*
|
|
260
|
+
* #### Required
|
|
261
|
+
*
|
|
262
|
+
* * `id` (String) ID of the scraper.
|
|
263
|
+
*
|
|
264
|
+
* #### Optional
|
|
265
|
+
*
|
|
266
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
267
|
+
* * `region` (String) Region where this resource is managed.
|
|
268
|
+
*
|
|
269
|
+
* Using `pulumi import`, import scrapers using `id`.
|
|
231
270
|
* For example:
|
|
232
271
|
*
|
|
233
272
|
* ```sh
|
|
234
|
-
* $ pulumi import aws:amp/scraper:Scraper example s-
|
|
273
|
+
* $ pulumi import aws:amp/scraper:Scraper example s-b6f487db-4761-4930-9215-e9d588a7efe2
|
|
235
274
|
* ```
|
|
236
275
|
*/
|
|
237
276
|
export declare class Scraper extends pulumi.CustomResource {
|
|
@@ -251,15 +290,15 @@ export declare class Scraper extends pulumi.CustomResource {
|
|
|
251
290
|
*/
|
|
252
291
|
static isInstance(obj: any): obj is Scraper;
|
|
253
292
|
/**
|
|
254
|
-
*
|
|
293
|
+
* Name to associate with the managed scraper. This is for your use, and does not need to be unique.
|
|
255
294
|
*/
|
|
256
295
|
readonly alias: pulumi.Output<string | undefined>;
|
|
257
296
|
/**
|
|
258
|
-
*
|
|
297
|
+
* ARN of the scraper.
|
|
259
298
|
*/
|
|
260
299
|
readonly arn: pulumi.Output<string>;
|
|
261
300
|
/**
|
|
262
|
-
* Configuration block for the managed scraper to send metrics to. See `destination
|
|
301
|
+
* Configuration block for the managed scraper to send metrics to. See `destination` Block for details.
|
|
263
302
|
*/
|
|
264
303
|
readonly destination: pulumi.Output<outputs.amp.ScraperDestination>;
|
|
265
304
|
/**
|
|
@@ -267,26 +306,32 @@ export declare class Scraper extends pulumi.CustomResource {
|
|
|
267
306
|
*/
|
|
268
307
|
readonly region: pulumi.Output<string>;
|
|
269
308
|
/**
|
|
270
|
-
*
|
|
309
|
+
* ARN of the IAM role that provides permissions for the scraper to discover, collect, and produce metrics
|
|
271
310
|
*/
|
|
272
311
|
readonly roleArn: pulumi.Output<string>;
|
|
273
312
|
/**
|
|
274
|
-
* Configuration block to enable writing to an Amazon Managed Service for Prometheus workspace in a different account. See `roleConfiguration`
|
|
313
|
+
* Configuration block to enable writing to an Amazon Managed Service for Prometheus workspace in a different account. See `roleConfiguration` Block for details.
|
|
275
314
|
*/
|
|
276
315
|
readonly roleConfiguration: pulumi.Output<outputs.amp.ScraperRoleConfiguration | undefined>;
|
|
277
316
|
/**
|
|
278
|
-
*
|
|
317
|
+
* Configuration file to use in the new scraper. For more information, see [Scraper configuration](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration).
|
|
279
318
|
*/
|
|
280
319
|
readonly scrapeConfiguration: pulumi.Output<string>;
|
|
281
320
|
/**
|
|
282
|
-
* Configuration block to specify where the managed scraper will collect metrics from. See `source
|
|
321
|
+
* Configuration block to specify where the managed scraper will collect metrics from. See `source` Block for details.
|
|
283
322
|
*
|
|
284
323
|
* The following arguments are optional:
|
|
285
324
|
*/
|
|
286
325
|
readonly source: pulumi.Output<outputs.amp.ScraperSource | undefined>;
|
|
326
|
+
/**
|
|
327
|
+
* 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.
|
|
328
|
+
*/
|
|
287
329
|
readonly tags: pulumi.Output<{
|
|
288
330
|
[key: string]: string;
|
|
289
331
|
} | undefined>;
|
|
332
|
+
/**
|
|
333
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
334
|
+
*/
|
|
290
335
|
readonly tagsAll: pulumi.Output<{
|
|
291
336
|
[key: string]: string;
|
|
292
337
|
}>;
|
|
@@ -305,15 +350,15 @@ export declare class Scraper extends pulumi.CustomResource {
|
|
|
305
350
|
*/
|
|
306
351
|
export interface ScraperState {
|
|
307
352
|
/**
|
|
308
|
-
*
|
|
353
|
+
* Name to associate with the managed scraper. This is for your use, and does not need to be unique.
|
|
309
354
|
*/
|
|
310
355
|
alias?: pulumi.Input<string | undefined>;
|
|
311
356
|
/**
|
|
312
|
-
*
|
|
357
|
+
* ARN of the scraper.
|
|
313
358
|
*/
|
|
314
359
|
arn?: pulumi.Input<string | undefined>;
|
|
315
360
|
/**
|
|
316
|
-
* Configuration block for the managed scraper to send metrics to. See `destination
|
|
361
|
+
* Configuration block for the managed scraper to send metrics to. See `destination` Block for details.
|
|
317
362
|
*/
|
|
318
363
|
destination?: pulumi.Input<inputs.amp.ScraperDestination | undefined>;
|
|
319
364
|
/**
|
|
@@ -321,26 +366,32 @@ export interface ScraperState {
|
|
|
321
366
|
*/
|
|
322
367
|
region?: pulumi.Input<string | undefined>;
|
|
323
368
|
/**
|
|
324
|
-
*
|
|
369
|
+
* ARN of the IAM role that provides permissions for the scraper to discover, collect, and produce metrics
|
|
325
370
|
*/
|
|
326
371
|
roleArn?: pulumi.Input<string | undefined>;
|
|
327
372
|
/**
|
|
328
|
-
* Configuration block to enable writing to an Amazon Managed Service for Prometheus workspace in a different account. See `roleConfiguration`
|
|
373
|
+
* Configuration block to enable writing to an Amazon Managed Service for Prometheus workspace in a different account. See `roleConfiguration` Block for details.
|
|
329
374
|
*/
|
|
330
375
|
roleConfiguration?: pulumi.Input<inputs.amp.ScraperRoleConfiguration | undefined>;
|
|
331
376
|
/**
|
|
332
|
-
*
|
|
377
|
+
* Configuration file to use in the new scraper. For more information, see [Scraper configuration](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration).
|
|
333
378
|
*/
|
|
334
379
|
scrapeConfiguration?: pulumi.Input<string | undefined>;
|
|
335
380
|
/**
|
|
336
|
-
* Configuration block to specify where the managed scraper will collect metrics from. See `source
|
|
381
|
+
* Configuration block to specify where the managed scraper will collect metrics from. See `source` Block for details.
|
|
337
382
|
*
|
|
338
383
|
* The following arguments are optional:
|
|
339
384
|
*/
|
|
340
385
|
source?: pulumi.Input<inputs.amp.ScraperSource | undefined>;
|
|
386
|
+
/**
|
|
387
|
+
* 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.
|
|
388
|
+
*/
|
|
341
389
|
tags?: pulumi.Input<{
|
|
342
390
|
[key: string]: pulumi.Input<string>;
|
|
343
391
|
} | undefined>;
|
|
392
|
+
/**
|
|
393
|
+
* Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
|
|
394
|
+
*/
|
|
344
395
|
tagsAll?: pulumi.Input<{
|
|
345
396
|
[key: string]: pulumi.Input<string>;
|
|
346
397
|
} | undefined>;
|
|
@@ -351,11 +402,11 @@ export interface ScraperState {
|
|
|
351
402
|
*/
|
|
352
403
|
export interface ScraperArgs {
|
|
353
404
|
/**
|
|
354
|
-
*
|
|
405
|
+
* Name to associate with the managed scraper. This is for your use, and does not need to be unique.
|
|
355
406
|
*/
|
|
356
407
|
alias?: pulumi.Input<string | undefined>;
|
|
357
408
|
/**
|
|
358
|
-
* Configuration block for the managed scraper to send metrics to. See `destination
|
|
409
|
+
* Configuration block for the managed scraper to send metrics to. See `destination` Block for details.
|
|
359
410
|
*/
|
|
360
411
|
destination: pulumi.Input<inputs.amp.ScraperDestination>;
|
|
361
412
|
/**
|
|
@@ -363,19 +414,22 @@ export interface ScraperArgs {
|
|
|
363
414
|
*/
|
|
364
415
|
region?: pulumi.Input<string | undefined>;
|
|
365
416
|
/**
|
|
366
|
-
* Configuration block to enable writing to an Amazon Managed Service for Prometheus workspace in a different account. See `roleConfiguration`
|
|
417
|
+
* Configuration block to enable writing to an Amazon Managed Service for Prometheus workspace in a different account. See `roleConfiguration` Block for details.
|
|
367
418
|
*/
|
|
368
419
|
roleConfiguration?: pulumi.Input<inputs.amp.ScraperRoleConfiguration | undefined>;
|
|
369
420
|
/**
|
|
370
|
-
*
|
|
421
|
+
* Configuration file to use in the new scraper. For more information, see [Scraper configuration](https://docs.aws.amazon.com/prometheus/latest/userguide/AMP-collector-how-to.html#AMP-collector-configuration).
|
|
371
422
|
*/
|
|
372
423
|
scrapeConfiguration: pulumi.Input<string>;
|
|
373
424
|
/**
|
|
374
|
-
* Configuration block to specify where the managed scraper will collect metrics from. See `source
|
|
425
|
+
* Configuration block to specify where the managed scraper will collect metrics from. See `source` Block for details.
|
|
375
426
|
*
|
|
376
427
|
* The following arguments are optional:
|
|
377
428
|
*/
|
|
378
429
|
source?: pulumi.Input<inputs.amp.ScraperSource | undefined>;
|
|
430
|
+
/**
|
|
431
|
+
* 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.
|
|
432
|
+
*/
|
|
379
433
|
tags?: pulumi.Input<{
|
|
380
434
|
[key: string]: pulumi.Input<string>;
|
|
381
435
|
} | undefined>;
|
package/amp/scraper.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scraper.d.ts","sourceRoot":"","sources":["../../amp/scraper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAI3C
|
|
1
|
+
{"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AAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAAC;IAClF;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC1C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;IAC5D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;CACnE"}
|
package/amp/scraper.js
CHANGED
|
@@ -115,6 +115,34 @@ const utilities = __importStar(require("../utilities"));
|
|
|
115
115
|
* });
|
|
116
116
|
* ```
|
|
117
117
|
*
|
|
118
|
+
* ### CloudWatch Destination
|
|
119
|
+
*
|
|
120
|
+
* ```typescript
|
|
121
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
122
|
+
* import * as aws from "@pulumi/aws";
|
|
123
|
+
*
|
|
124
|
+
* const example = new aws.amp.Scraper("example", {
|
|
125
|
+
* source: {
|
|
126
|
+
* eks: {
|
|
127
|
+
* clusterArn: exampleAwsEksCluster.arn,
|
|
128
|
+
* subnetIds: exampleAwsEksCluster.vpcConfig[0].subnetIds,
|
|
129
|
+
* },
|
|
130
|
+
* },
|
|
131
|
+
* destination: {
|
|
132
|
+
* cloudwatch: {
|
|
133
|
+
* datasetArn: "arn:aws:cloudwatch:us-west-2:123456789012:dataset/default",
|
|
134
|
+
* },
|
|
135
|
+
* },
|
|
136
|
+
* scrapeConfiguration: `global:
|
|
137
|
+
* scrape_interval: 30s
|
|
138
|
+
* scrape_configs:
|
|
139
|
+
* - job_name: pod_exporter
|
|
140
|
+
* kubernetes_sd_configs:
|
|
141
|
+
* - role: pod
|
|
142
|
+
* `,
|
|
143
|
+
* });
|
|
144
|
+
* ```
|
|
145
|
+
*
|
|
118
146
|
* ### VPC Configuration
|
|
119
147
|
*
|
|
120
148
|
* ```typescript
|
|
@@ -254,11 +282,22 @@ const utilities = __importStar(require("../utilities"));
|
|
|
254
282
|
*
|
|
255
283
|
* ## Import
|
|
256
284
|
*
|
|
257
|
-
*
|
|
285
|
+
* ### Identity Schema
|
|
286
|
+
*
|
|
287
|
+
* #### Required
|
|
288
|
+
*
|
|
289
|
+
* * `id` (String) ID of the scraper.
|
|
290
|
+
*
|
|
291
|
+
* #### Optional
|
|
292
|
+
*
|
|
293
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
294
|
+
* * `region` (String) Region where this resource is managed.
|
|
295
|
+
*
|
|
296
|
+
* Using `pulumi import`, import scrapers using `id`.
|
|
258
297
|
* For example:
|
|
259
298
|
*
|
|
260
299
|
* ```sh
|
|
261
|
-
* $ pulumi import aws:amp/scraper:Scraper example s-
|
|
300
|
+
* $ pulumi import aws:amp/scraper:Scraper example s-b6f487db-4761-4930-9215-e9d588a7efe2
|
|
262
301
|
* ```
|
|
263
302
|
*/
|
|
264
303
|
class Scraper extends pulumi.CustomResource {
|
package/amp/scraper.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scraper.js","sourceRoot":"","sources":["../../amp/scraper.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"scraper.js","sourceRoot":"","sources":["../../amp/scraper.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;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AAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAtHL,0BAuHC"}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Manages an Amazon Managed Service for Prometheus (AMP) Scraper Logging Configuration.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### Basic Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
*
|
|
15
|
+
* const example = new aws.amp.Scraper("example", {
|
|
16
|
+
* source: {
|
|
17
|
+
* eks: {
|
|
18
|
+
* clusterArn: exampleAwsEksCluster.arn,
|
|
19
|
+
* subnetIds: exampleAwsSubnet.map(__item => __item.id),
|
|
20
|
+
* },
|
|
21
|
+
* },
|
|
22
|
+
* destination: {
|
|
23
|
+
* amp: {
|
|
24
|
+
* workspaceArn: exampleAwsPrometheusWorkspace.arn,
|
|
25
|
+
* },
|
|
26
|
+
* },
|
|
27
|
+
* scrapeConfiguration: `global:
|
|
28
|
+
* scrape_interval: 15s
|
|
29
|
+
* scrape_configs:
|
|
30
|
+
* - job_name: 'prometheus'
|
|
31
|
+
* static_configs:
|
|
32
|
+
* - targets: ['localhost:9090']
|
|
33
|
+
* `,
|
|
34
|
+
* });
|
|
35
|
+
* const exampleLogGroup = new aws.cloudwatch.LogGroup("example", {name: "/aws/prometheus/scraper-logs/example"});
|
|
36
|
+
* const exampleScraperLoggingConfiguration = new aws.amp.ScraperLoggingConfiguration("example", {
|
|
37
|
+
* scraperId: example.id,
|
|
38
|
+
* loggingDestination: {
|
|
39
|
+
* cloudwatchLogs: {
|
|
40
|
+
* logGroupArn: pulumi.interpolate`${exampleLogGroup.arn}:*`,
|
|
41
|
+
* },
|
|
42
|
+
* },
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* ### With Scraper Components
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as aws from "@pulumi/aws";
|
|
51
|
+
*
|
|
52
|
+
* const example = new aws.amp.ScraperLoggingConfiguration("example", {
|
|
53
|
+
* scraperId: exampleAwsPrometheusScraper.id,
|
|
54
|
+
* scraperComponents: [
|
|
55
|
+
* "COLLECTOR",
|
|
56
|
+
* "EXPORTER",
|
|
57
|
+
* ],
|
|
58
|
+
* loggingDestination: {
|
|
59
|
+
* cloudwatchLogs: {
|
|
60
|
+
* logGroupArn: `${exampleAwsCloudwatchLogGroup.arn}:*`,
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* ## Import
|
|
67
|
+
*
|
|
68
|
+
* ### Identity Schema
|
|
69
|
+
*
|
|
70
|
+
* #### Required
|
|
71
|
+
*
|
|
72
|
+
* * `scraperId` (String) ID of the scraper.
|
|
73
|
+
*
|
|
74
|
+
* #### Optional
|
|
75
|
+
*
|
|
76
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
77
|
+
* * `region` (String) Region where this resource is managed.
|
|
78
|
+
*
|
|
79
|
+
* Using `pulumi import`, import scraper logging configurations using `scraperId`. For example:
|
|
80
|
+
*
|
|
81
|
+
* ```sh
|
|
82
|
+
* $ pulumi import aws:amp/scraperLoggingConfiguration:ScraperLoggingConfiguration example s-b6f487db-4761-4930-9215-e9d588a7efe2
|
|
83
|
+
* ```
|
|
84
|
+
*/
|
|
85
|
+
export declare class ScraperLoggingConfiguration extends pulumi.CustomResource {
|
|
86
|
+
/**
|
|
87
|
+
* Get an existing ScraperLoggingConfiguration resource's state with the given name, ID, and optional extra
|
|
88
|
+
* properties used to qualify the lookup.
|
|
89
|
+
*
|
|
90
|
+
* @param name The _unique_ name of the resulting resource.
|
|
91
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
92
|
+
* @param state Any extra arguments used during the lookup.
|
|
93
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
94
|
+
*/
|
|
95
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ScraperLoggingConfigurationState, opts?: pulumi.CustomResourceOptions): ScraperLoggingConfiguration;
|
|
96
|
+
/**
|
|
97
|
+
* Returns true if the given object is an instance of ScraperLoggingConfiguration. This is designed to work even
|
|
98
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
99
|
+
*/
|
|
100
|
+
static isInstance(obj: any): obj is ScraperLoggingConfiguration;
|
|
101
|
+
/**
|
|
102
|
+
* Configuration block for the logging destination. See `loggingDestination` Block below.
|
|
103
|
+
*/
|
|
104
|
+
readonly loggingDestination: pulumi.Output<outputs.amp.ScraperLoggingConfigurationLoggingDestination>;
|
|
105
|
+
/**
|
|
106
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
107
|
+
*/
|
|
108
|
+
readonly region: pulumi.Output<string>;
|
|
109
|
+
/**
|
|
110
|
+
* Scraper components to log. Valid values: `COLLECTOR`, `EXPORTER`, `SERVICE_DISCOVERY`.
|
|
111
|
+
*/
|
|
112
|
+
readonly scraperComponents: pulumi.Output<string[]>;
|
|
113
|
+
/**
|
|
114
|
+
* ID of the scraper to configure logging for.
|
|
115
|
+
*
|
|
116
|
+
* The following arguments are optional:
|
|
117
|
+
*/
|
|
118
|
+
readonly scraperId: pulumi.Output<string>;
|
|
119
|
+
readonly timeouts: pulumi.Output<outputs.amp.ScraperLoggingConfigurationTimeouts | undefined>;
|
|
120
|
+
/**
|
|
121
|
+
* Create a ScraperLoggingConfiguration resource with the given unique name, arguments, and options.
|
|
122
|
+
*
|
|
123
|
+
* @param name The _unique_ name of the resource.
|
|
124
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
125
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
126
|
+
*/
|
|
127
|
+
constructor(name: string, args: ScraperLoggingConfigurationArgs, opts?: pulumi.CustomResourceOptions);
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Input properties used for looking up and filtering ScraperLoggingConfiguration resources.
|
|
131
|
+
*/
|
|
132
|
+
export interface ScraperLoggingConfigurationState {
|
|
133
|
+
/**
|
|
134
|
+
* Configuration block for the logging destination. See `loggingDestination` Block below.
|
|
135
|
+
*/
|
|
136
|
+
loggingDestination?: pulumi.Input<inputs.amp.ScraperLoggingConfigurationLoggingDestination | undefined>;
|
|
137
|
+
/**
|
|
138
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
139
|
+
*/
|
|
140
|
+
region?: pulumi.Input<string | undefined>;
|
|
141
|
+
/**
|
|
142
|
+
* Scraper components to log. Valid values: `COLLECTOR`, `EXPORTER`, `SERVICE_DISCOVERY`.
|
|
143
|
+
*/
|
|
144
|
+
scraperComponents?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
145
|
+
/**
|
|
146
|
+
* ID of the scraper to configure logging for.
|
|
147
|
+
*
|
|
148
|
+
* The following arguments are optional:
|
|
149
|
+
*/
|
|
150
|
+
scraperId?: pulumi.Input<string | undefined>;
|
|
151
|
+
timeouts?: pulumi.Input<inputs.amp.ScraperLoggingConfigurationTimeouts | undefined>;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* The set of arguments for constructing a ScraperLoggingConfiguration resource.
|
|
155
|
+
*/
|
|
156
|
+
export interface ScraperLoggingConfigurationArgs {
|
|
157
|
+
/**
|
|
158
|
+
* Configuration block for the logging destination. See `loggingDestination` Block below.
|
|
159
|
+
*/
|
|
160
|
+
loggingDestination: pulumi.Input<inputs.amp.ScraperLoggingConfigurationLoggingDestination>;
|
|
161
|
+
/**
|
|
162
|
+
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
|
|
163
|
+
*/
|
|
164
|
+
region?: pulumi.Input<string | undefined>;
|
|
165
|
+
/**
|
|
166
|
+
* Scraper components to log. Valid values: `COLLECTOR`, `EXPORTER`, `SERVICE_DISCOVERY`.
|
|
167
|
+
*/
|
|
168
|
+
scraperComponents?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
169
|
+
/**
|
|
170
|
+
* ID of the scraper to configure logging for.
|
|
171
|
+
*
|
|
172
|
+
* The following arguments are optional:
|
|
173
|
+
*/
|
|
174
|
+
scraperId: pulumi.Input<string>;
|
|
175
|
+
timeouts?: pulumi.Input<inputs.amp.ScraperLoggingConfigurationTimeouts | undefined>;
|
|
176
|
+
}
|
|
177
|
+
//# sourceMappingURL=scraperLoggingConfiguration.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scraperLoggingConfiguration.d.ts","sourceRoot":"","sources":["../../amp/scraperLoggingConfiguration.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MA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AK,CAAC,MAAM,CAAC,GAAG,CAAC,6CAA6C,GAAG,SAAS,CAAC,CAAC;IACxG;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACrE;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC;CACvF;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,6CAA6C,CAAC,CAAC;IAC3F;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACrE;;;;OAIG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,mCAAmC,GAAG,SAAS,CAAC,CAAC;CACvF"}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.ScraperLoggingConfiguration = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Manages an Amazon Managed Service for Prometheus (AMP) Scraper Logging Configuration.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ### Basic Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as aws from "@pulumi/aws";
|
|
41
|
+
*
|
|
42
|
+
* const example = new aws.amp.Scraper("example", {
|
|
43
|
+
* source: {
|
|
44
|
+
* eks: {
|
|
45
|
+
* clusterArn: exampleAwsEksCluster.arn,
|
|
46
|
+
* subnetIds: exampleAwsSubnet.map(__item => __item.id),
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* destination: {
|
|
50
|
+
* amp: {
|
|
51
|
+
* workspaceArn: exampleAwsPrometheusWorkspace.arn,
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* scrapeConfiguration: `global:
|
|
55
|
+
* scrape_interval: 15s
|
|
56
|
+
* scrape_configs:
|
|
57
|
+
* - job_name: 'prometheus'
|
|
58
|
+
* static_configs:
|
|
59
|
+
* - targets: ['localhost:9090']
|
|
60
|
+
* `,
|
|
61
|
+
* });
|
|
62
|
+
* const exampleLogGroup = new aws.cloudwatch.LogGroup("example", {name: "/aws/prometheus/scraper-logs/example"});
|
|
63
|
+
* const exampleScraperLoggingConfiguration = new aws.amp.ScraperLoggingConfiguration("example", {
|
|
64
|
+
* scraperId: example.id,
|
|
65
|
+
* loggingDestination: {
|
|
66
|
+
* cloudwatchLogs: {
|
|
67
|
+
* logGroupArn: pulumi.interpolate`${exampleLogGroup.arn}:*`,
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* ### With Scraper Components
|
|
74
|
+
*
|
|
75
|
+
* ```typescript
|
|
76
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
77
|
+
* import * as aws from "@pulumi/aws";
|
|
78
|
+
*
|
|
79
|
+
* const example = new aws.amp.ScraperLoggingConfiguration("example", {
|
|
80
|
+
* scraperId: exampleAwsPrometheusScraper.id,
|
|
81
|
+
* scraperComponents: [
|
|
82
|
+
* "COLLECTOR",
|
|
83
|
+
* "EXPORTER",
|
|
84
|
+
* ],
|
|
85
|
+
* loggingDestination: {
|
|
86
|
+
* cloudwatchLogs: {
|
|
87
|
+
* logGroupArn: `${exampleAwsCloudwatchLogGroup.arn}:*`,
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* });
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* ## Import
|
|
94
|
+
*
|
|
95
|
+
* ### Identity Schema
|
|
96
|
+
*
|
|
97
|
+
* #### Required
|
|
98
|
+
*
|
|
99
|
+
* * `scraperId` (String) ID of the scraper.
|
|
100
|
+
*
|
|
101
|
+
* #### Optional
|
|
102
|
+
*
|
|
103
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
104
|
+
* * `region` (String) Region where this resource is managed.
|
|
105
|
+
*
|
|
106
|
+
* Using `pulumi import`, import scraper logging configurations using `scraperId`. For example:
|
|
107
|
+
*
|
|
108
|
+
* ```sh
|
|
109
|
+
* $ pulumi import aws:amp/scraperLoggingConfiguration:ScraperLoggingConfiguration example s-b6f487db-4761-4930-9215-e9d588a7efe2
|
|
110
|
+
* ```
|
|
111
|
+
*/
|
|
112
|
+
class ScraperLoggingConfiguration extends pulumi.CustomResource {
|
|
113
|
+
/**
|
|
114
|
+
* Get an existing ScraperLoggingConfiguration resource's state with the given name, ID, and optional extra
|
|
115
|
+
* properties used to qualify the lookup.
|
|
116
|
+
*
|
|
117
|
+
* @param name The _unique_ name of the resulting resource.
|
|
118
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
119
|
+
* @param state Any extra arguments used during the lookup.
|
|
120
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
121
|
+
*/
|
|
122
|
+
static get(name, id, state, opts) {
|
|
123
|
+
return new ScraperLoggingConfiguration(name, state, { ...opts, id: id });
|
|
124
|
+
}
|
|
125
|
+
/** @internal */
|
|
126
|
+
static __pulumiType = 'aws:amp/scraperLoggingConfiguration:ScraperLoggingConfiguration';
|
|
127
|
+
/**
|
|
128
|
+
* Returns true if the given object is an instance of ScraperLoggingConfiguration. This is designed to work even
|
|
129
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
130
|
+
*/
|
|
131
|
+
static isInstance(obj) {
|
|
132
|
+
if (obj === undefined || obj === null) {
|
|
133
|
+
return false;
|
|
134
|
+
}
|
|
135
|
+
return obj['__pulumiType'] === ScraperLoggingConfiguration.__pulumiType;
|
|
136
|
+
}
|
|
137
|
+
constructor(name, argsOrState, opts) {
|
|
138
|
+
let resourceInputs = {};
|
|
139
|
+
opts = opts || {};
|
|
140
|
+
if (opts.id) {
|
|
141
|
+
const state = argsOrState;
|
|
142
|
+
resourceInputs["loggingDestination"] = state?.loggingDestination;
|
|
143
|
+
resourceInputs["region"] = state?.region;
|
|
144
|
+
resourceInputs["scraperComponents"] = state?.scraperComponents;
|
|
145
|
+
resourceInputs["scraperId"] = state?.scraperId;
|
|
146
|
+
resourceInputs["timeouts"] = state?.timeouts;
|
|
147
|
+
}
|
|
148
|
+
else {
|
|
149
|
+
const args = argsOrState;
|
|
150
|
+
if (args?.loggingDestination === undefined && !opts.urn) {
|
|
151
|
+
throw new Error("Missing required property 'loggingDestination'");
|
|
152
|
+
}
|
|
153
|
+
if (args?.scraperId === undefined && !opts.urn) {
|
|
154
|
+
throw new Error("Missing required property 'scraperId'");
|
|
155
|
+
}
|
|
156
|
+
resourceInputs["loggingDestination"] = args?.loggingDestination;
|
|
157
|
+
resourceInputs["region"] = args?.region;
|
|
158
|
+
resourceInputs["scraperComponents"] = args?.scraperComponents;
|
|
159
|
+
resourceInputs["scraperId"] = args?.scraperId;
|
|
160
|
+
resourceInputs["timeouts"] = args?.timeouts;
|
|
161
|
+
}
|
|
162
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
163
|
+
super(ScraperLoggingConfiguration.__pulumiType, name, resourceInputs, opts);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
exports.ScraperLoggingConfiguration = ScraperLoggingConfiguration;
|
|
167
|
+
//# sourceMappingURL=scraperLoggingConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scraperLoggingConfiguration.js","sourceRoot":"","sources":["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