@pulumi/aws 7.33.0-alpha.1781422613 → 7.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/acm/certificate.d.ts +6 -30
- package/acm/certificate.d.ts.map +1 -1
- package/acm/certificate.js +3 -27
- package/acm/certificate.js.map +1 -1
- package/alb/getLoadBalancer.d.ts +1 -0
- package/alb/getLoadBalancer.d.ts.map +1 -1
- package/alb/getLoadBalancer.js.map +1 -1
- package/alb/loadBalancer.d.ts +12 -0
- package/alb/loadBalancer.d.ts.map +1 -1
- package/alb/loadBalancer.js +2 -0
- package/alb/loadBalancer.js.map +1 -1
- package/amp/resourcePolicy.d.ts +4 -17
- package/amp/resourcePolicy.d.ts.map +1 -1
- package/amp/resourcePolicy.js +4 -17
- package/amp/resourcePolicy.js.map +1 -1
- package/apigateway/integration.d.ts +4 -4
- package/apigateway/integration.js +4 -4
- package/apigateway/method.d.ts +1 -1
- package/apigateway/method.js +1 -1
- package/apigatewayv2/routeResponse.d.ts +1 -5
- package/apigatewayv2/routeResponse.d.ts.map +1 -1
- package/apigatewayv2/routeResponse.js +1 -5
- package/apigatewayv2/routeResponse.js.map +1 -1
- package/appflow/connectorProfile.d.ts +0 -3
- package/appflow/connectorProfile.d.ts.map +1 -1
- package/appflow/connectorProfile.js +0 -3
- package/appflow/connectorProfile.js.map +1 -1
- package/appmesh/virtualNode.d.ts +1 -10
- package/appmesh/virtualNode.d.ts.map +1 -1
- package/appmesh/virtualNode.js +1 -10
- package/appmesh/virtualNode.js.map +1 -1
- package/appmesh/virtualRouter.d.ts +1 -9
- package/appmesh/virtualRouter.d.ts.map +1 -1
- package/appmesh/virtualRouter.js +1 -9
- package/appmesh/virtualRouter.js.map +1 -1
- package/appsync/function.d.ts +1 -1
- package/appsync/function.js +1 -1
- package/appsync/resolver.d.ts +1 -1
- package/appsync/resolver.js +1 -1
- package/autoscaling/group.d.ts +60 -62
- package/autoscaling/group.d.ts.map +1 -1
- package/autoscaling/group.js +60 -62
- package/autoscaling/group.js.map +1 -1
- package/batch/computeEnvironment.d.ts +3 -7
- package/batch/computeEnvironment.d.ts.map +1 -1
- package/batch/computeEnvironment.js +3 -7
- package/batch/computeEnvironment.js.map +1 -1
- package/bedrock/agentDataSource.d.ts +0 -5
- package/bedrock/agentDataSource.d.ts.map +1 -1
- package/bedrock/agentDataSource.js +0 -5
- package/bedrock/agentDataSource.js.map +1 -1
- package/bedrock/agentcoreAgentRuntime.d.ts +24 -0
- package/bedrock/agentcoreAgentRuntime.d.ts.map +1 -1
- package/bedrock/agentcoreAgentRuntime.js +24 -0
- package/bedrock/agentcoreAgentRuntime.js.map +1 -1
- package/bedrock/agentcoreGateway.d.ts +16 -4
- package/bedrock/agentcoreGateway.d.ts.map +1 -1
- package/bedrock/agentcoreGateway.js +2 -3
- package/bedrock/agentcoreGateway.js.map +1 -1
- package/bedrock/agentcoreGatewayTarget.d.ts +159 -4
- package/bedrock/agentcoreGatewayTarget.d.ts.map +1 -1
- package/bedrock/agentcoreGatewayTarget.js +146 -1
- package/bedrock/agentcoreGatewayTarget.js.map +1 -1
- package/bedrock/agentcoreMemory.d.ts +24 -0
- package/bedrock/agentcoreMemory.d.ts.map +1 -1
- package/bedrock/agentcoreMemory.js +4 -0
- package/bedrock/agentcoreMemory.js.map +1 -1
- package/bedrock/agentcorePolicy.d.ts +179 -0
- package/bedrock/agentcorePolicy.d.ts.map +1 -0
- package/bedrock/agentcorePolicy.js +137 -0
- package/bedrock/agentcorePolicy.js.map +1 -0
- package/bedrock/index.d.ts +3 -0
- package/bedrock/index.d.ts.map +1 -1
- package/bedrock/index.js +6 -1
- package/bedrock/index.js.map +1 -1
- package/cleanrooms/membership.d.ts +11 -0
- package/cleanrooms/membership.d.ts.map +1 -1
- package/cleanrooms/membership.js +11 -0
- package/cleanrooms/membership.js.map +1 -1
- package/cloudfront/connectionGroup.d.ts +0 -2
- package/cloudfront/connectionGroup.d.ts.map +1 -1
- package/cloudfront/connectionGroup.js +0 -2
- package/cloudfront/connectionGroup.js.map +1 -1
- package/cloudfront/function.d.ts +30 -0
- package/cloudfront/function.d.ts.map +1 -1
- package/cloudfront/function.js +4 -0
- package/cloudfront/function.js.map +1 -1
- package/cloudfront/multitenantDistribution.d.ts +3 -3
- package/cloudfront/multitenantDistribution.js +3 -3
- package/cloudfront/originAccessIdentity.d.ts +3 -6
- package/cloudfront/originAccessIdentity.d.ts.map +1 -1
- package/cloudfront/originAccessIdentity.js +3 -6
- package/cloudfront/originAccessIdentity.js.map +1 -1
- package/cloudfront/vpcOrigin.d.ts +1 -1
- package/cloudfront/vpcOrigin.js +1 -1
- package/cloudhsmv2/cluster.d.ts +1 -1
- package/cloudhsmv2/cluster.js +1 -1
- package/cloudwatch/eventArchive.d.ts +2 -2
- package/cloudwatch/eventArchive.js +2 -2
- package/cloudwatch/eventConnection.d.ts +5 -5
- package/cloudwatch/eventConnection.js +5 -5
- package/cloudwatch/index.d.ts +3 -0
- package/cloudwatch/index.d.ts.map +1 -1
- package/cloudwatch/index.js +7 -2
- package/cloudwatch/index.js.map +1 -1
- package/cloudwatch/logS3TableIntegrationSource.d.ts +148 -0
- package/cloudwatch/logS3TableIntegrationSource.d.ts.map +1 -0
- package/cloudwatch/logS3TableIntegrationSource.js +154 -0
- package/cloudwatch/logS3TableIntegrationSource.js.map +1 -0
- package/codeartifact/repository.d.ts +2 -2
- package/codeartifact/repository.js +2 -2
- package/codedeploy/deploymentGroup.d.ts +0 -2
- package/codedeploy/deploymentGroup.d.ts.map +1 -1
- package/codedeploy/deploymentGroup.js +0 -2
- package/codedeploy/deploymentGroup.js.map +1 -1
- package/connect/instance.d.ts +2 -2
- package/connect/instance.js +2 -2
- package/datasync/agent.d.ts +1 -1
- package/datasync/agent.js +1 -1
- package/datasync/task.d.ts +3 -3
- package/datasync/task.js +3 -3
- package/datazone/assetType.d.ts +12 -0
- package/datazone/assetType.d.ts.map +1 -1
- package/datazone/assetType.js +12 -0
- package/datazone/assetType.js.map +1 -1
- package/datazone/domain.d.ts +11 -0
- package/datazone/domain.d.ts.map +1 -1
- package/datazone/domain.js +11 -0
- package/datazone/domain.js.map +1 -1
- package/datazone/environment.d.ts +12 -0
- package/datazone/environment.d.ts.map +1 -1
- package/datazone/environment.js +12 -0
- package/datazone/environment.js.map +1 -1
- package/datazone/environmentBlueprintConfiguration.d.ts +30 -0
- package/datazone/environmentBlueprintConfiguration.d.ts.map +1 -1
- package/datazone/environmentBlueprintConfiguration.js +14 -0
- package/datazone/environmentBlueprintConfiguration.js.map +1 -1
- package/datazone/environmentProfile.d.ts +12 -0
- package/datazone/environmentProfile.d.ts.map +1 -1
- package/datazone/environmentProfile.js +12 -0
- package/datazone/environmentProfile.js.map +1 -1
- package/datazone/formType.d.ts +13 -0
- package/datazone/formType.d.ts.map +1 -1
- package/datazone/formType.js +13 -0
- package/datazone/formType.js.map +1 -1
- package/datazone/glossary.d.ts +12 -0
- package/datazone/glossary.d.ts.map +1 -1
- package/datazone/glossary.js +12 -0
- package/datazone/glossary.js.map +1 -1
- package/datazone/glossaryTerm.d.ts +12 -0
- package/datazone/glossaryTerm.d.ts.map +1 -1
- package/datazone/glossaryTerm.js +12 -0
- package/datazone/glossaryTerm.js.map +1 -1
- package/datazone/project.d.ts +12 -0
- package/datazone/project.d.ts.map +1 -1
- package/datazone/project.js +12 -0
- package/datazone/project.js.map +1 -1
- package/datazone/userProfile.d.ts +12 -0
- package/datazone/userProfile.d.ts.map +1 -1
- package/datazone/userProfile.js +12 -0
- package/datazone/userProfile.js.map +1 -1
- package/dax/cluster.d.ts +0 -2
- package/dax/cluster.d.ts.map +1 -1
- package/dax/cluster.js +0 -2
- package/dax/cluster.js.map +1 -1
- package/devicefarm/project.d.ts +1 -1
- package/devicefarm/project.js +1 -1
- package/dynamodb/globalSecondaryIndex.d.ts +1 -1
- package/dynamodb/globalSecondaryIndex.js +1 -1
- package/dynamodb/table.d.ts +1 -10
- package/dynamodb/table.d.ts.map +1 -1
- package/dynamodb/table.js +1 -10
- package/dynamodb/table.js.map +1 -1
- package/ebs/getSnapshot.d.ts +2 -2
- package/ebs/getSnapshotIds.d.ts +2 -2
- package/ebs/getVolume.d.ts +2 -2
- package/ec2/defaultNetworkAcl.d.ts +1 -1
- package/ec2/defaultNetworkAcl.js +1 -1
- package/ec2/defaultRouteTable.d.ts +1 -3
- package/ec2/defaultRouteTable.d.ts.map +1 -1
- package/ec2/defaultRouteTable.js +1 -3
- package/ec2/defaultRouteTable.js.map +1 -1
- package/ec2/defaultSecurityGroup.d.ts +1 -1
- package/ec2/defaultSecurityGroup.js +1 -1
- package/ec2/eip.d.ts +3 -3
- package/ec2/getCustomerGateway.d.ts +2 -6
- package/ec2/getCustomerGateway.d.ts.map +1 -1
- package/ec2/getCustomerGateway.js.map +1 -1
- package/ec2/getDedicatedHost.d.ts +42 -2
- package/ec2/getDedicatedHost.d.ts.map +1 -1
- package/ec2/getDedicatedHost.js.map +1 -1
- package/ec2/getHosts.d.ts +155 -0
- package/ec2/getHosts.d.ts.map +1 -0
- package/ec2/getHosts.js +137 -0
- package/ec2/getHosts.js.map +1 -0
- package/ec2/getInstance.d.ts +2 -2
- package/ec2/getInstances.d.ts +2 -2
- package/ec2/getSecurityGroups.d.ts +2 -2
- package/ec2/index.d.ts +9 -0
- package/ec2/index.d.ts.map +1 -1
- package/ec2/index.js +18 -5
- package/ec2/index.js.map +1 -1
- package/ec2/instance.d.ts +1 -11
- package/ec2/instance.d.ts.map +1 -1
- package/ec2/instance.js +1 -11
- package/ec2/instance.js.map +1 -1
- package/ec2/localGatewayRouteTable.d.ts +180 -0
- package/ec2/localGatewayRouteTable.d.ts.map +1 -0
- package/ec2/localGatewayRouteTable.js +124 -0
- package/ec2/localGatewayRouteTable.js.map +1 -0
- package/ec2/localGatewayRouteTableVirtualInterfaceGroupAssociation.d.ts +173 -0
- package/ec2/localGatewayRouteTableVirtualInterfaceGroupAssociation.d.ts.map +1 -0
- package/ec2/localGatewayRouteTableVirtualInterfaceGroupAssociation.js +126 -0
- package/ec2/localGatewayRouteTableVirtualInterfaceGroupAssociation.js.map +1 -0
- package/ec2/mainRouteTableAssociation.d.ts +1 -10
- package/ec2/mainRouteTableAssociation.d.ts.map +1 -1
- package/ec2/mainRouteTableAssociation.js +1 -10
- package/ec2/mainRouteTableAssociation.js.map +1 -1
- package/ec2/networkInterfaceSecurityGroupAttachment.d.ts +2 -2
- package/ec2/networkInterfaceSecurityGroupAttachment.js +2 -2
- package/ec2/route.d.ts +1 -1
- package/ec2/route.js +1 -1
- package/ec2/subnet.d.ts +0 -4
- package/ec2/subnet.d.ts.map +1 -1
- package/ec2/subnet.js +0 -4
- package/ec2/subnet.js.map +1 -1
- package/ec2/volumeAttachment.d.ts +0 -4
- package/ec2/volumeAttachment.d.ts.map +1 -1
- package/ec2/volumeAttachment.js +0 -4
- package/ec2/volumeAttachment.js.map +1 -1
- package/ec2/vpc.d.ts +0 -4
- package/ec2/vpc.d.ts.map +1 -1
- package/ec2/vpc.js +0 -4
- package/ec2/vpc.js.map +1 -1
- package/ec2/vpcDhcpOptions.d.ts +6 -8
- package/ec2/vpcDhcpOptions.d.ts.map +1 -1
- package/ec2/vpcDhcpOptions.js +0 -8
- package/ec2/vpcDhcpOptions.js.map +1 -1
- package/ec2/vpcDhcpOptionsAssociation.d.ts +6 -5
- package/ec2/vpcDhcpOptionsAssociation.d.ts.map +1 -1
- package/ec2/vpcDhcpOptionsAssociation.js +0 -5
- package/ec2/vpcDhcpOptionsAssociation.js.map +1 -1
- package/ec2/vpcIpamPoolCidrAllocation.d.ts +30 -0
- package/ec2/vpcIpamPoolCidrAllocation.d.ts.map +1 -1
- package/ec2/vpcIpamPoolCidrAllocation.js +4 -0
- package/ec2/vpcIpamPoolCidrAllocation.js.map +1 -1
- package/ec2/vpcPeeringConnection.d.ts +3 -9
- package/ec2/vpcPeeringConnection.d.ts.map +1 -1
- package/ec2/vpcPeeringConnection.js +0 -6
- package/ec2/vpcPeeringConnection.js.map +1 -1
- package/ec2transitgateway/getAttachments.d.ts +1 -1
- package/ec2transitgateway/getPeeringAttachments.d.ts +1 -1
- package/ec2transitgateway/getVpcAttachments.d.ts +1 -1
- package/ecr/replicationConfiguration.d.ts +2 -2
- package/ecr/replicationConfiguration.js +2 -2
- package/ecs/daemon.d.ts +277 -0
- package/ecs/daemon.d.ts.map +1 -0
- package/ecs/daemon.js +179 -0
- package/ecs/daemon.js.map +1 -0
- package/ecs/daemonTaskDefinition.d.ts +345 -0
- package/ecs/daemonTaskDefinition.d.ts.map +1 -0
- package/ecs/daemonTaskDefinition.js +252 -0
- package/ecs/daemonTaskDefinition.js.map +1 -0
- package/ecs/expressGatewayService.d.ts +1 -1
- package/ecs/expressGatewayService.js +1 -1
- package/ecs/index.d.ts +6 -0
- package/ecs/index.d.ts.map +1 -1
- package/ecs/index.js +11 -1
- package/ecs/index.js.map +1 -1
- package/eks/addon.d.ts +2 -2
- package/eks/addon.js +2 -2
- package/elasticbeanstalk/configurationTemplate.d.ts +3 -12
- package/elasticbeanstalk/configurationTemplate.d.ts.map +1 -1
- package/elasticbeanstalk/configurationTemplate.js +0 -9
- package/elasticbeanstalk/configurationTemplate.js.map +1 -1
- package/elasticbeanstalk/environment.d.ts +0 -41
- package/elasticbeanstalk/environment.d.ts.map +1 -1
- package/elasticbeanstalk/environment.js +0 -41
- package/elasticbeanstalk/environment.js.map +1 -1
- package/elasticbeanstalk/getSolutionStack.d.ts +2 -2
- package/elb/loadBalancer.d.ts +0 -8
- package/elb/loadBalancer.d.ts.map +1 -1
- package/elb/loadBalancer.js +0 -8
- package/elb/loadBalancer.js.map +1 -1
- package/fis/experimentTemplate.d.ts +1 -1
- package/fis/experimentTemplate.js +1 -1
- package/fsx/backup.d.ts +6 -4
- package/fsx/backup.d.ts.map +1 -1
- package/fsx/backup.js +6 -4
- package/fsx/backup.js.map +1 -1
- package/getIpRanges.d.ts +2 -2
- package/getPartition.d.ts +3 -6
- package/getPartition.d.ts.map +1 -1
- package/getPartition.js.map +1 -1
- package/guardduty/detectorFeature.d.ts +1 -1
- package/guardduty/detectorFeature.js +1 -1
- package/guardduty/memberDetectorFeature.d.ts +1 -1
- package/guardduty/memberDetectorFeature.js +1 -1
- package/iam/getRoles.d.ts +2 -2
- package/iam/getUsers.d.ts +2 -2
- package/iam/group.d.ts +2 -2
- package/iam/instanceProfile.d.ts +2 -2
- package/iam/serverCertificate.d.ts +2 -5
- package/iam/serverCertificate.d.ts.map +1 -1
- package/iam/serverCertificate.js +2 -5
- package/iam/serverCertificate.js.map +1 -1
- package/iam/user.d.ts +2 -2
- package/kinesis/accountSettings.d.ts +94 -0
- package/kinesis/accountSettings.d.ts.map +1 -0
- package/kinesis/accountSettings.js +105 -0
- package/kinesis/accountSettings.js.map +1 -0
- package/kinesis/firehoseDeliveryStream.d.ts +8 -2
- package/kinesis/firehoseDeliveryStream.d.ts.map +1 -1
- package/kinesis/firehoseDeliveryStream.js +8 -2
- package/kinesis/firehoseDeliveryStream.js.map +1 -1
- package/kinesis/getStream.d.ts +4 -0
- package/kinesis/getStream.d.ts.map +1 -1
- package/kinesis/getStream.js.map +1 -1
- package/kinesis/index.d.ts +3 -0
- package/kinesis/index.d.ts.map +1 -1
- package/kinesis/index.js +6 -1
- package/kinesis/index.js.map +1 -1
- package/kinesis/stream.d.ts +31 -15
- package/kinesis/stream.d.ts.map +1 -1
- package/kinesis/stream.js +15 -6
- package/kinesis/stream.js.map +1 -1
- package/kinesis/streamConsumer.d.ts +7 -3
- package/kinesis/streamConsumer.d.ts.map +1 -1
- package/kinesis/streamConsumer.js +7 -3
- package/kinesis/streamConsumer.js.map +1 -1
- package/kinesis/videoStream.d.ts +0 -4
- package/kinesis/videoStream.d.ts.map +1 -1
- package/kinesis/videoStream.js +0 -4
- package/kinesis/videoStream.js.map +1 -1
- package/lakeformation/permissions.d.ts +5 -5
- package/lakeformation/permissions.js +5 -5
- package/lambda/function.d.ts +1 -4
- package/lambda/function.d.ts.map +1 -1
- package/lambda/function.js +1 -4
- package/lambda/function.js.map +1 -1
- package/lambda/layerVersion.d.ts +0 -2
- package/lambda/layerVersion.d.ts.map +1 -1
- package/lambda/layerVersion.js +0 -2
- package/lambda/layerVersion.js.map +1 -1
- package/lb/getLoadBalancer.d.ts +1 -0
- package/lb/getLoadBalancer.d.ts.map +1 -1
- package/lb/getLoadBalancer.js.map +1 -1
- package/lb/loadBalancer.d.ts +12 -0
- package/lb/loadBalancer.d.ts.map +1 -1
- package/lb/loadBalancer.js +2 -0
- package/lb/loadBalancer.js.map +1 -1
- package/licensemanager/licenseConfiguration.d.ts +0 -12
- package/licensemanager/licenseConfiguration.d.ts.map +1 -1
- package/licensemanager/licenseConfiguration.js +0 -12
- package/licensemanager/licenseConfiguration.js.map +1 -1
- package/lightsail/database.d.ts +0 -47
- package/lightsail/database.d.ts.map +1 -1
- package/lightsail/database.js +0 -47
- package/lightsail/database.js.map +1 -1
- package/networkfirewall/firewallPolicy.d.ts +4 -4
- package/networkfirewall/firewallPolicy.js +4 -4
- package/networkfirewall/getFirewallPolicy.d.ts +3 -3
- package/networkfirewall/getFirewallPolicy.js +2 -2
- package/networkfirewall/getResourcePolicy.d.ts +1 -1
- package/observabilityadmin/index.d.ts +3 -0
- package/observabilityadmin/index.d.ts.map +1 -1
- package/observabilityadmin/index.js +6 -1
- package/observabilityadmin/index.js.map +1 -1
- package/observabilityadmin/s3tableIntegration.d.ts +227 -0
- package/observabilityadmin/s3tableIntegration.d.ts.map +1 -0
- package/observabilityadmin/s3tableIntegration.js +195 -0
- package/observabilityadmin/s3tableIntegration.js.map +1 -0
- package/observabilityadmin/telemetryEvaluation.d.ts +2 -0
- package/observabilityadmin/telemetryEvaluation.d.ts.map +1 -1
- package/observabilityadmin/telemetryEvaluation.js +2 -0
- package/observabilityadmin/telemetryEvaluation.js.map +1 -1
- package/observabilityadmin/telemetryRule.d.ts +119 -14
- package/observabilityadmin/telemetryRule.d.ts.map +1 -1
- package/observabilityadmin/telemetryRule.js +101 -2
- package/observabilityadmin/telemetryRule.js.map +1 -1
- package/observabilityadmin/telemetryRuleForOrganization.d.ts +81 -18
- package/observabilityadmin/telemetryRuleForOrganization.d.ts.map +1 -1
- package/observabilityadmin/telemetryRuleForOrganization.js +61 -4
- package/observabilityadmin/telemetryRuleForOrganization.js.map +1 -1
- package/odb/getNetwork.d.ts +4 -0
- package/odb/getNetwork.d.ts.map +1 -1
- package/odb/getNetwork.js.map +1 -1
- package/odb/network.d.ts +8 -0
- package/odb/network.d.ts.map +1 -1
- package/odb/network.js +2 -0
- package/odb/network.js.map +1 -1
- package/opensearch/application.d.ts +0 -6
- package/opensearch/application.d.ts.map +1 -1
- package/opensearch/application.js +0 -6
- package/opensearch/application.js.map +1 -1
- package/opensearch/domain.d.ts +1 -16
- package/opensearch/domain.d.ts.map +1 -1
- package/opensearch/domain.js +1 -16
- package/opensearch/domain.js.map +1 -1
- package/opensearch/getServerlessCollectionGroup.d.ts +4 -0
- package/opensearch/getServerlessCollectionGroup.d.ts.map +1 -1
- package/opensearch/getServerlessCollectionGroup.js.map +1 -1
- package/opensearch/serverlessCollectionGroup.d.ts +15 -3
- package/opensearch/serverlessCollectionGroup.d.ts.map +1 -1
- package/opensearch/serverlessCollectionGroup.js +2 -0
- package/opensearch/serverlessCollectionGroup.js.map +1 -1
- package/opensearchingest/pipeline.d.ts +15 -4
- package/opensearchingest/pipeline.d.ts.map +1 -1
- package/opensearchingest/pipeline.js +12 -1
- package/opensearchingest/pipeline.js.map +1 -1
- package/outposts/capacityTask.d.ts +2 -6
- package/outposts/capacityTask.d.ts.map +1 -1
- package/outposts/capacityTask.js +2 -6
- package/outposts/capacityTask.js.map +1 -1
- package/package.json +2 -2
- package/pinpoint/index.d.ts +3 -0
- package/pinpoint/index.d.ts.map +1 -1
- package/pinpoint/index.js +6 -1
- package/pinpoint/index.js.map +1 -1
- package/pinpoint/smsvoicev2EventDestination.d.ts +229 -0
- package/pinpoint/smsvoicev2EventDestination.d.ts.map +1 -0
- package/pinpoint/smsvoicev2EventDestination.js +177 -0
- package/pinpoint/smsvoicev2EventDestination.js.map +1 -0
- package/ram/getResourceShare.d.ts +2 -2
- package/ram/getResourceShare.js +2 -2
- package/rds/clusterActivityStream.d.ts +1 -5
- package/rds/clusterActivityStream.d.ts.map +1 -1
- package/rds/clusterActivityStream.js +1 -5
- package/rds/clusterActivityStream.js.map +1 -1
- package/rds/clusterEndpoint.d.ts +0 -2
- package/rds/clusterEndpoint.d.ts.map +1 -1
- package/rds/clusterEndpoint.js +0 -2
- package/rds/clusterEndpoint.js.map +1 -1
- package/rds/clusterInstance.d.ts +1 -1
- package/rds/clusterInstance.js +1 -1
- package/rds/instance.d.ts +2 -16
- package/rds/instance.d.ts.map +1 -1
- package/rds/instance.js +2 -16
- package/rds/instance.js.map +1 -1
- package/rds/instanceAutomatedBackupsReplication.d.ts +2 -2
- package/rds/instanceAutomatedBackupsReplication.js +2 -2
- package/route53/getQueryLogConfig.d.ts +2 -2
- package/route53/getResolverEndpoint.d.ts +2 -2
- package/s3/bucketAcl.d.ts +0 -2
- package/s3/bucketAcl.d.ts.map +1 -1
- package/s3/bucketAcl.js +0 -2
- package/s3/bucketAcl.js.map +1 -1
- package/s3/bucketAclV2.d.ts +0 -2
- package/s3/bucketAclV2.d.ts.map +1 -1
- package/s3/bucketAclV2.js +0 -2
- package/s3/bucketAclV2.js.map +1 -1
- package/sagemaker/mlflowTrackingServer.d.ts +3 -3
- package/securityhub/standardsControlAssociation.d.ts +1 -1
- package/securityhub/standardsControlAssociation.js +1 -1
- package/sns/platformApplication.d.ts +6 -6
- package/sns/topic.d.ts +4 -4
- package/sns/topic.js +4 -4
- package/sqs/queue.d.ts +4 -4
- package/sqs/queue.js +4 -4
- package/ssm/resourceDataSync.d.ts +0 -7
- package/ssm/resourceDataSync.d.ts.map +1 -1
- package/ssm/resourceDataSync.js +0 -7
- package/ssm/resourceDataSync.js.map +1 -1
- package/ssmincidents/replicationSet.d.ts +1 -1
- package/ssmincidents/replicationSet.js +1 -1
- package/storagegateway/fileSystemAssociation.d.ts +1 -1
- package/storagegateway/fileSystemAssociation.js +1 -1
- package/timestreaminfluxdb/dbCluster.d.ts +3 -3
- package/timestreaminfluxdb/dbCluster.js +3 -3
- package/types/input.d.ts +1562 -321
- package/types/input.d.ts.map +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +1601 -318
- package/types/output.d.ts.map +1 -1
- package/types/output.js.map +1 -1
- package/uxc/accountCustomizations.d.ts +2 -2
- package/uxc/accountCustomizations.d.ts.map +1 -1
- package/wafregional/geoMatchSet.d.ts +6 -6
- package/wafregional/rule.d.ts +0 -12
- package/wafregional/rule.d.ts.map +1 -1
- package/wafregional/rule.js +0 -12
- package/wafregional/rule.js.map +1 -1
- package/wafv2/webAclAssociation.d.ts +0 -2
- package/wafv2/webAclAssociation.d.ts.map +1 -1
- package/wafv2/webAclAssociation.js +0 -2
- package/wafv2/webAclAssociation.js.map +1 -1
- package/xray/encryptionConfig.d.ts +1 -1
- package/xray/encryptionConfig.js +1 -1
|
@@ -0,0 +1,195 @@
|
|
|
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.S3TableIntegration = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Manages a CloudWatch Observability Admin S3 Table Integration. This integration enables CloudWatch to duplicate telemetry data to Amazon S3 Tables, making it available for analysis by tools such as Amazon Athena and Amazon Redshift.
|
|
33
|
+
*
|
|
34
|
+
* For more information, see the [CloudWatch Logs S3 Tables integration documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/s3-tables-integration.html).
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ### Basic Integration with AES256 Encryption
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as aws from "@pulumi/aws";
|
|
43
|
+
*
|
|
44
|
+
* const example = new aws.iam.Role("example", {
|
|
45
|
+
* name: "example-s3-table-integration",
|
|
46
|
+
* assumeRolePolicy: JSON.stringify({
|
|
47
|
+
* Version: "2012-10-17",
|
|
48
|
+
* Statement: [{
|
|
49
|
+
* Action: "sts:AssumeRole",
|
|
50
|
+
* Effect: "Allow",
|
|
51
|
+
* Principal: {
|
|
52
|
+
* Service: "logs.amazonaws.com",
|
|
53
|
+
* },
|
|
54
|
+
* }],
|
|
55
|
+
* }),
|
|
56
|
+
* });
|
|
57
|
+
* const exampleRolePolicy = new aws.iam.RolePolicy("example", {
|
|
58
|
+
* role: example.name,
|
|
59
|
+
* policy: JSON.stringify({
|
|
60
|
+
* Version: "2012-10-17",
|
|
61
|
+
* Statement: [{
|
|
62
|
+
* Effect: "Allow",
|
|
63
|
+
* Action: [
|
|
64
|
+
* "s3tables:CreateTableBucket",
|
|
65
|
+
* "s3tables:ListTableBuckets",
|
|
66
|
+
* "s3tables:GetTableBucket",
|
|
67
|
+
* "s3tables:CreateNamespace",
|
|
68
|
+
* "s3tables:GetNamespace",
|
|
69
|
+
* "s3tables:ListNamespaces",
|
|
70
|
+
* "s3tables:CreateTable",
|
|
71
|
+
* "s3tables:GetTable",
|
|
72
|
+
* "s3tables:ListTables",
|
|
73
|
+
* "s3tables:PutTableData",
|
|
74
|
+
* "s3tables:GetTableData",
|
|
75
|
+
* ],
|
|
76
|
+
* Resource: "*",
|
|
77
|
+
* }],
|
|
78
|
+
* }),
|
|
79
|
+
* });
|
|
80
|
+
* const exampleS3TableIntegration = new aws.observabilityadmin.S3TableIntegration("example", {
|
|
81
|
+
* roleArn: example.arn,
|
|
82
|
+
* encryption: {
|
|
83
|
+
* sseAlgorithm: "AES256",
|
|
84
|
+
* },
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* ### Integration with KMS Encryption
|
|
89
|
+
*
|
|
90
|
+
* ```typescript
|
|
91
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
92
|
+
* import * as aws from "@pulumi/aws";
|
|
93
|
+
*
|
|
94
|
+
* const example = new aws.iam.Role("example", {
|
|
95
|
+
* name: "example-s3-table-integration",
|
|
96
|
+
* assumeRolePolicy: JSON.stringify({
|
|
97
|
+
* Version: "2012-10-17",
|
|
98
|
+
* Statement: [{
|
|
99
|
+
* Action: "sts:AssumeRole",
|
|
100
|
+
* Effect: "Allow",
|
|
101
|
+
* Principal: {
|
|
102
|
+
* Service: "logs.amazonaws.com",
|
|
103
|
+
* },
|
|
104
|
+
* }],
|
|
105
|
+
* }),
|
|
106
|
+
* });
|
|
107
|
+
* const exampleKey = new aws.kms.Key("example", {
|
|
108
|
+
* description: "S3 Table Integration KMS key",
|
|
109
|
+
* deletionWindowInDays: 7,
|
|
110
|
+
* });
|
|
111
|
+
* const exampleS3TableIntegration = new aws.observabilityadmin.S3TableIntegration("example", {
|
|
112
|
+
* roleArn: example.arn,
|
|
113
|
+
* encryption: {
|
|
114
|
+
* sseAlgorithm: "aws:kms",
|
|
115
|
+
* kmsKeyArn: exampleKey.arn,
|
|
116
|
+
* },
|
|
117
|
+
* });
|
|
118
|
+
* ```
|
|
119
|
+
*
|
|
120
|
+
* ## Import
|
|
121
|
+
*
|
|
122
|
+
* ### Identity Schema
|
|
123
|
+
*
|
|
124
|
+
* #### Required
|
|
125
|
+
*
|
|
126
|
+
* - `arn` (String) ARN of the S3 Table integration.
|
|
127
|
+
*
|
|
128
|
+
* Using `pulumi import`, import CloudWatch Observability Admin S3 Table Integrations using the `arn`. For example:
|
|
129
|
+
*
|
|
130
|
+
* ```sh
|
|
131
|
+
* $ pulumi import aws:observabilityadmin/s3TableIntegration:S3TableIntegration example arn:aws:observabilityadmin:us-east-1:123456789012:s3-table-integration/example-id
|
|
132
|
+
* ```
|
|
133
|
+
*/
|
|
134
|
+
class S3TableIntegration extends pulumi.CustomResource {
|
|
135
|
+
/**
|
|
136
|
+
* Get an existing S3TableIntegration resource's state with the given name, ID, and optional extra
|
|
137
|
+
* properties used to qualify the lookup.
|
|
138
|
+
*
|
|
139
|
+
* @param name The _unique_ name of the resulting resource.
|
|
140
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
141
|
+
* @param state Any extra arguments used during the lookup.
|
|
142
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
143
|
+
*/
|
|
144
|
+
static get(name, id, state, opts) {
|
|
145
|
+
return new S3TableIntegration(name, state, { ...opts, id: id });
|
|
146
|
+
}
|
|
147
|
+
/** @internal */
|
|
148
|
+
static __pulumiType = 'aws:observabilityadmin/s3TableIntegration:S3TableIntegration';
|
|
149
|
+
/**
|
|
150
|
+
* Returns true if the given object is an instance of S3TableIntegration. This is designed to work even
|
|
151
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
152
|
+
*/
|
|
153
|
+
static isInstance(obj) {
|
|
154
|
+
if (obj === undefined || obj === null) {
|
|
155
|
+
return false;
|
|
156
|
+
}
|
|
157
|
+
return obj['__pulumiType'] === S3TableIntegration.__pulumiType;
|
|
158
|
+
}
|
|
159
|
+
constructor(name, argsOrState, opts) {
|
|
160
|
+
let resourceInputs = {};
|
|
161
|
+
opts = opts || {};
|
|
162
|
+
if (opts.id) {
|
|
163
|
+
const state = argsOrState;
|
|
164
|
+
resourceInputs["arn"] = state?.arn;
|
|
165
|
+
resourceInputs["destinationTableBucketArn"] = state?.destinationTableBucketArn;
|
|
166
|
+
resourceInputs["encryption"] = state?.encryption;
|
|
167
|
+
resourceInputs["region"] = state?.region;
|
|
168
|
+
resourceInputs["roleArn"] = state?.roleArn;
|
|
169
|
+
resourceInputs["tags"] = state?.tags;
|
|
170
|
+
resourceInputs["tagsAll"] = state?.tagsAll;
|
|
171
|
+
resourceInputs["timeouts"] = state?.timeouts;
|
|
172
|
+
}
|
|
173
|
+
else {
|
|
174
|
+
const args = argsOrState;
|
|
175
|
+
if (args?.encryption === undefined && !opts.urn) {
|
|
176
|
+
throw new Error("Missing required property 'encryption'");
|
|
177
|
+
}
|
|
178
|
+
if (args?.roleArn === undefined && !opts.urn) {
|
|
179
|
+
throw new Error("Missing required property 'roleArn'");
|
|
180
|
+
}
|
|
181
|
+
resourceInputs["encryption"] = args?.encryption;
|
|
182
|
+
resourceInputs["region"] = args?.region;
|
|
183
|
+
resourceInputs["roleArn"] = args?.roleArn;
|
|
184
|
+
resourceInputs["tags"] = args?.tags;
|
|
185
|
+
resourceInputs["timeouts"] = args?.timeouts;
|
|
186
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
187
|
+
resourceInputs["destinationTableBucketArn"] = undefined /*out*/;
|
|
188
|
+
resourceInputs["tagsAll"] = undefined /*out*/;
|
|
189
|
+
}
|
|
190
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
191
|
+
super(S3TableIntegration.__pulumiType, name, resourceInputs, opts);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
exports.S3TableIntegration = S3TableIntegration;
|
|
195
|
+
//# sourceMappingURL=s3tableIntegration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"s3tableIntegration.js","sourceRoot":"","sources":["../../observabilityadmin/s3tableIntegration.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsGG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8DAA8D,CAAC;IAErG;;;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,C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AAG,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,2BAA2B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChE,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,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAlGL,gDAmGC"}
|
|
@@ -10,6 +10,8 @@ import * as outputs from "../types/output";
|
|
|
10
10
|
*
|
|
11
11
|
* > **NOTE:** Only one telemetry evaluation can exist per account per region. Creating this resource enables the feature; destroying it disables the feature.
|
|
12
12
|
*
|
|
13
|
+
* > **NOTE:** Do not use this resource in an account where telemetry evaluation is centrally managed by an AWS Organization via `aws.observabilityadmin.TelemetryEvaluationForOrganization`. In that case, the per-account `StartTelemetryEvaluation` API silently returns success without changing per-account state, and `GetTelemetryEvaluationStatus` reports the org-derived `RUNNING` status — so `pulumi up` appears to succeed. However, the matching `StopTelemetryEvaluation` call is rejected with `ValidationException: Telemetry evaluation is managed by the caller's organization`, so a later `terraform destroy` will fail and leave the resource in state. Use the organization variant from the management account instead.
|
|
14
|
+
*
|
|
13
15
|
* ## Example Usage
|
|
14
16
|
*
|
|
15
17
|
* ### Basic Usage
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetryEvaluation.d.ts","sourceRoot":"","sources":["../../observabilityadmin/telemetryEvaluation.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC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,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;CAC9F;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,CAAC,2BAA2B,GAAG,SAAS,CAAC,CAAC;CAC9F"}
|
|
@@ -37,6 +37,8 @@ const utilities = __importStar(require("../utilities"));
|
|
|
37
37
|
*
|
|
38
38
|
* > **NOTE:** Only one telemetry evaluation can exist per account per region. Creating this resource enables the feature; destroying it disables the feature.
|
|
39
39
|
*
|
|
40
|
+
* > **NOTE:** Do not use this resource in an account where telemetry evaluation is centrally managed by an AWS Organization via `aws.observabilityadmin.TelemetryEvaluationForOrganization`. In that case, the per-account `StartTelemetryEvaluation` API silently returns success without changing per-account state, and `GetTelemetryEvaluationStatus` reports the org-derived `RUNNING` status — so `pulumi up` appears to succeed. However, the matching `StopTelemetryEvaluation` call is rejected with `ValidationException: Telemetry evaluation is managed by the caller's organization`, so a later `terraform destroy` will fail and leave the resource in state. Use the organization variant from the management account instead.
|
|
41
|
+
*
|
|
40
42
|
* ## Example Usage
|
|
41
43
|
*
|
|
42
44
|
* ### Basic Usage
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetryEvaluation.js","sourceRoot":"","sources":["../../observabilityadmin/telemetryEvaluation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"telemetryEvaluation.js","sourceRoot":"","sources":["../../observabilityadmin/telemetryEvaluation.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,gEAAgE,CAAC;IAEvG;;;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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAwBD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,EAAE,aAAa,CAAC;YACvD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,CAAC;SAChD;aAAM;YACH,MAAM,IAAI,GAAG,WAAkD,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AApEL,kDAqEC"}
|
|
@@ -4,7 +4,9 @@ import * as outputs from "../types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* Manages an AWS CloudWatch Observability Admin Telemetry Rule.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
7
|
+
* A telemetry rule defines how telemetry data (logs, metrics, or traces) should be collected for AWS resources within an AWS account. The rule can target one or more Regions and optionally configure a destination (such as CloudWatch Logs or S3) along with source-specific parameters for VPC flow logs, WAF logs, CloudTrail events, ELB access logs, and more.
|
|
8
|
+
*
|
|
9
|
+
* > **NOTE:** Before using this resource, telemetry evaluation must be enabled for your AWS account. Use the `aws.observabilityadmin.TelemetryEvaluation` resource to enable it.
|
|
8
10
|
*
|
|
9
11
|
* ## Example Usage
|
|
10
12
|
*
|
|
@@ -26,6 +28,103 @@ import * as outputs from "../types/output";
|
|
|
26
28
|
* });
|
|
27
29
|
* ```
|
|
28
30
|
*
|
|
31
|
+
* ### VPC Flow Logs to CloudWatch Logs
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as aws from "@pulumi/aws";
|
|
36
|
+
*
|
|
37
|
+
* const example = new aws.observabilityadmin.TelemetryEvaluation("example", {});
|
|
38
|
+
* const exampleTelemetryRule = new aws.observabilityadmin.TelemetryRule("example", {
|
|
39
|
+
* ruleName: "vpc-flow-logs-rule",
|
|
40
|
+
* rule: {
|
|
41
|
+
* telemetryType: "Logs",
|
|
42
|
+
* resourceType: "AWS::EC2::VPC",
|
|
43
|
+
* telemetrySourceTypes: ["VPC_FLOW_LOGS"],
|
|
44
|
+
* allRegions: true,
|
|
45
|
+
* allowFieldUpdates: true,
|
|
46
|
+
* destinationConfiguration: {
|
|
47
|
+
* destinationType: "cloud-watch-logs",
|
|
48
|
+
* destinationPattern: "/aws/vpcflowlogs/<resourceId>",
|
|
49
|
+
* retentionInDays: 30,
|
|
50
|
+
* vpcFlowLogParameters: {
|
|
51
|
+
* trafficType: "ALL",
|
|
52
|
+
* maxAggregationInterval: 60,
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* },
|
|
56
|
+
* }, {
|
|
57
|
+
* dependsOn: [example],
|
|
58
|
+
* });
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* ### Replicated Across Specific Regions
|
|
62
|
+
*
|
|
63
|
+
* ```typescript
|
|
64
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
65
|
+
* import * as aws from "@pulumi/aws";
|
|
66
|
+
*
|
|
67
|
+
* const example = new aws.observabilityadmin.TelemetryEvaluation("example", {});
|
|
68
|
+
* const exampleTelemetryRule = new aws.observabilityadmin.TelemetryRule("example", {
|
|
69
|
+
* ruleName: "multi-region-rule",
|
|
70
|
+
* rule: {
|
|
71
|
+
* telemetryType: "Logs",
|
|
72
|
+
* resourceType: "AWS::EKS::Cluster",
|
|
73
|
+
* regions: [
|
|
74
|
+
* "us-east-1",
|
|
75
|
+
* "us-west-2",
|
|
76
|
+
* "eu-west-1",
|
|
77
|
+
* ],
|
|
78
|
+
* },
|
|
79
|
+
* }, {
|
|
80
|
+
* dependsOn: [example],
|
|
81
|
+
* });
|
|
82
|
+
* ```
|
|
83
|
+
*
|
|
84
|
+
* ### WAF Logging with Filters and Redacted Fields
|
|
85
|
+
*
|
|
86
|
+
* ```typescript
|
|
87
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
88
|
+
* import * as aws from "@pulumi/aws";
|
|
89
|
+
*
|
|
90
|
+
* const example = new aws.observabilityadmin.TelemetryEvaluation("example", {});
|
|
91
|
+
* const exampleTelemetryRule = new aws.observabilityadmin.TelemetryRule("example", {
|
|
92
|
+
* ruleName: "waf-logs-rule",
|
|
93
|
+
* rule: {
|
|
94
|
+
* telemetryType: "Logs",
|
|
95
|
+
* resourceType: "AWS::WAFv2::WebACL",
|
|
96
|
+
* destinationConfiguration: {
|
|
97
|
+
* destinationType: "cloud-watch-logs",
|
|
98
|
+
* destinationPattern: "aws-waf-logs-<resourceId>",
|
|
99
|
+
* retentionInDays: 30,
|
|
100
|
+
* wafLoggingParameters: {
|
|
101
|
+
* logType: "WAF_LOGS",
|
|
102
|
+
* loggingFilter: {
|
|
103
|
+
* defaultBehavior: "KEEP",
|
|
104
|
+
* filters: [{
|
|
105
|
+
* behavior: "DROP",
|
|
106
|
+
* requirement: "MEETS_ANY",
|
|
107
|
+
* conditions: [{
|
|
108
|
+
* actionCondition: {
|
|
109
|
+
* action: "ALLOW",
|
|
110
|
+
* },
|
|
111
|
+
* }],
|
|
112
|
+
* }],
|
|
113
|
+
* },
|
|
114
|
+
* redactedFields: [{
|
|
115
|
+
* queryString: "",
|
|
116
|
+
* singleHeader: {
|
|
117
|
+
* name: "authorization",
|
|
118
|
+
* },
|
|
119
|
+
* }],
|
|
120
|
+
* },
|
|
121
|
+
* },
|
|
122
|
+
* },
|
|
123
|
+
* }, {
|
|
124
|
+
* dependsOn: [example],
|
|
125
|
+
* });
|
|
126
|
+
* ```
|
|
127
|
+
*
|
|
29
128
|
* ### With Tags
|
|
30
129
|
*
|
|
31
130
|
* ```typescript
|
|
@@ -34,7 +133,7 @@ import * as outputs from "../types/output";
|
|
|
34
133
|
*
|
|
35
134
|
* const example = new aws.observabilityadmin.TelemetryEvaluation("example", {});
|
|
36
135
|
* const exampleTelemetryRule = new aws.observabilityadmin.TelemetryRule("example", {
|
|
37
|
-
* ruleName: "
|
|
136
|
+
* ruleName: "tagged-rule",
|
|
38
137
|
* rule: {
|
|
39
138
|
* telemetryType: "Logs",
|
|
40
139
|
* resourceType: "AWS::EC2::VPC",
|
|
@@ -84,11 +183,11 @@ export declare class TelemetryRule extends pulumi.CustomResource {
|
|
|
84
183
|
*/
|
|
85
184
|
static isInstance(obj: any): obj is TelemetryRule;
|
|
86
185
|
/**
|
|
87
|
-
*
|
|
186
|
+
* 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.
|
|
88
187
|
*/
|
|
89
188
|
readonly region: pulumi.Output<string>;
|
|
90
189
|
/**
|
|
91
|
-
* Configuration block for the telemetry rule. See rule below.
|
|
190
|
+
* Configuration block for the telemetry rule. See `rule` below.
|
|
92
191
|
*/
|
|
93
192
|
readonly rule: pulumi.Output<outputs.observabilityadmin.TelemetryRuleRule>;
|
|
94
193
|
/**
|
|
@@ -96,11 +195,13 @@ export declare class TelemetryRule extends pulumi.CustomResource {
|
|
|
96
195
|
*/
|
|
97
196
|
readonly ruleArn: pulumi.Output<string>;
|
|
98
197
|
/**
|
|
99
|
-
* Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
|
|
198
|
+
* Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes. Changing this argument forces a new resource to be created.
|
|
199
|
+
*
|
|
200
|
+
* The following arguments are optional:
|
|
100
201
|
*/
|
|
101
202
|
readonly ruleName: pulumi.Output<string>;
|
|
102
203
|
/**
|
|
103
|
-
*
|
|
204
|
+
* Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
104
205
|
*/
|
|
105
206
|
readonly tags: pulumi.Output<{
|
|
106
207
|
[key: string]: string;
|
|
@@ -126,11 +227,11 @@ export declare class TelemetryRule extends pulumi.CustomResource {
|
|
|
126
227
|
*/
|
|
127
228
|
export interface TelemetryRuleState {
|
|
128
229
|
/**
|
|
129
|
-
*
|
|
230
|
+
* 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.
|
|
130
231
|
*/
|
|
131
232
|
region?: pulumi.Input<string | undefined>;
|
|
132
233
|
/**
|
|
133
|
-
* Configuration block for the telemetry rule. See rule below.
|
|
234
|
+
* Configuration block for the telemetry rule. See `rule` below.
|
|
134
235
|
*/
|
|
135
236
|
rule?: pulumi.Input<inputs.observabilityadmin.TelemetryRuleRule | undefined>;
|
|
136
237
|
/**
|
|
@@ -138,11 +239,13 @@ export interface TelemetryRuleState {
|
|
|
138
239
|
*/
|
|
139
240
|
ruleArn?: pulumi.Input<string | undefined>;
|
|
140
241
|
/**
|
|
141
|
-
* Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
|
|
242
|
+
* Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes. Changing this argument forces a new resource to be created.
|
|
243
|
+
*
|
|
244
|
+
* The following arguments are optional:
|
|
142
245
|
*/
|
|
143
246
|
ruleName?: pulumi.Input<string | undefined>;
|
|
144
247
|
/**
|
|
145
|
-
*
|
|
248
|
+
* Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
146
249
|
*/
|
|
147
250
|
tags?: pulumi.Input<{
|
|
148
251
|
[key: string]: pulumi.Input<string>;
|
|
@@ -160,19 +263,21 @@ export interface TelemetryRuleState {
|
|
|
160
263
|
*/
|
|
161
264
|
export interface TelemetryRuleArgs {
|
|
162
265
|
/**
|
|
163
|
-
*
|
|
266
|
+
* 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.
|
|
164
267
|
*/
|
|
165
268
|
region?: pulumi.Input<string | undefined>;
|
|
166
269
|
/**
|
|
167
|
-
* Configuration block for the telemetry rule. See rule below.
|
|
270
|
+
* Configuration block for the telemetry rule. See `rule` below.
|
|
168
271
|
*/
|
|
169
272
|
rule: pulumi.Input<inputs.observabilityadmin.TelemetryRuleRule>;
|
|
170
273
|
/**
|
|
171
|
-
* Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes.
|
|
274
|
+
* Name of the telemetry rule. Must be between 1 and 100 characters and contain only alphanumeric characters, hyphens, underscores, periods, hash symbols, and forward slashes. Changing this argument forces a new resource to be created.
|
|
275
|
+
*
|
|
276
|
+
* The following arguments are optional:
|
|
172
277
|
*/
|
|
173
278
|
ruleName: pulumi.Input<string>;
|
|
174
279
|
/**
|
|
175
|
-
*
|
|
280
|
+
* Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
|
|
176
281
|
*/
|
|
177
282
|
tags?: pulumi.Input<{
|
|
178
283
|
[key: string]: pulumi.Input<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetryRule.d.ts","sourceRoot":"","sources":["../../observabilityadmin/telemetryRule.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
|
+
{"version":3,"file":"telemetryRule.d.ts","sour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F;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;IAChE;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;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,kBAAkB,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;CACxF"}
|
|
@@ -31,7 +31,9 @@ const utilities = __importStar(require("../utilities"));
|
|
|
31
31
|
/**
|
|
32
32
|
* Manages an AWS CloudWatch Observability Admin Telemetry Rule.
|
|
33
33
|
*
|
|
34
|
-
*
|
|
34
|
+
* A telemetry rule defines how telemetry data (logs, metrics, or traces) should be collected for AWS resources within an AWS account. The rule can target one or more Regions and optionally configure a destination (such as CloudWatch Logs or S3) along with source-specific parameters for VPC flow logs, WAF logs, CloudTrail events, ELB access logs, and more.
|
|
35
|
+
*
|
|
36
|
+
* > **NOTE:** Before using this resource, telemetry evaluation must be enabled for your AWS account. Use the `aws.observabilityadmin.TelemetryEvaluation` resource to enable it.
|
|
35
37
|
*
|
|
36
38
|
* ## Example Usage
|
|
37
39
|
*
|
|
@@ -53,6 +55,103 @@ const utilities = __importStar(require("../utilities"));
|
|
|
53
55
|
* });
|
|
54
56
|
* ```
|
|
55
57
|
*
|
|
58
|
+
* ### VPC Flow Logs to CloudWatch Logs
|
|
59
|
+
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as aws from "@pulumi/aws";
|
|
63
|
+
*
|
|
64
|
+
* const example = new aws.observabilityadmin.TelemetryEvaluation("example", {});
|
|
65
|
+
* const exampleTelemetryRule = new aws.observabilityadmin.TelemetryRule("example", {
|
|
66
|
+
* ruleName: "vpc-flow-logs-rule",
|
|
67
|
+
* rule: {
|
|
68
|
+
* telemetryType: "Logs",
|
|
69
|
+
* resourceType: "AWS::EC2::VPC",
|
|
70
|
+
* telemetrySourceTypes: ["VPC_FLOW_LOGS"],
|
|
71
|
+
* allRegions: true,
|
|
72
|
+
* allowFieldUpdates: true,
|
|
73
|
+
* destinationConfiguration: {
|
|
74
|
+
* destinationType: "cloud-watch-logs",
|
|
75
|
+
* destinationPattern: "/aws/vpcflowlogs/<resourceId>",
|
|
76
|
+
* retentionInDays: 30,
|
|
77
|
+
* vpcFlowLogParameters: {
|
|
78
|
+
* trafficType: "ALL",
|
|
79
|
+
* maxAggregationInterval: 60,
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* },
|
|
83
|
+
* }, {
|
|
84
|
+
* dependsOn: [example],
|
|
85
|
+
* });
|
|
86
|
+
* ```
|
|
87
|
+
*
|
|
88
|
+
* ### Replicated Across Specific Regions
|
|
89
|
+
*
|
|
90
|
+
* ```typescript
|
|
91
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
92
|
+
* import * as aws from "@pulumi/aws";
|
|
93
|
+
*
|
|
94
|
+
* const example = new aws.observabilityadmin.TelemetryEvaluation("example", {});
|
|
95
|
+
* const exampleTelemetryRule = new aws.observabilityadmin.TelemetryRule("example", {
|
|
96
|
+
* ruleName: "multi-region-rule",
|
|
97
|
+
* rule: {
|
|
98
|
+
* telemetryType: "Logs",
|
|
99
|
+
* resourceType: "AWS::EKS::Cluster",
|
|
100
|
+
* regions: [
|
|
101
|
+
* "us-east-1",
|
|
102
|
+
* "us-west-2",
|
|
103
|
+
* "eu-west-1",
|
|
104
|
+
* ],
|
|
105
|
+
* },
|
|
106
|
+
* }, {
|
|
107
|
+
* dependsOn: [example],
|
|
108
|
+
* });
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
111
|
+
* ### WAF Logging with Filters and Redacted Fields
|
|
112
|
+
*
|
|
113
|
+
* ```typescript
|
|
114
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
115
|
+
* import * as aws from "@pulumi/aws";
|
|
116
|
+
*
|
|
117
|
+
* const example = new aws.observabilityadmin.TelemetryEvaluation("example", {});
|
|
118
|
+
* const exampleTelemetryRule = new aws.observabilityadmin.TelemetryRule("example", {
|
|
119
|
+
* ruleName: "waf-logs-rule",
|
|
120
|
+
* rule: {
|
|
121
|
+
* telemetryType: "Logs",
|
|
122
|
+
* resourceType: "AWS::WAFv2::WebACL",
|
|
123
|
+
* destinationConfiguration: {
|
|
124
|
+
* destinationType: "cloud-watch-logs",
|
|
125
|
+
* destinationPattern: "aws-waf-logs-<resourceId>",
|
|
126
|
+
* retentionInDays: 30,
|
|
127
|
+
* wafLoggingParameters: {
|
|
128
|
+
* logType: "WAF_LOGS",
|
|
129
|
+
* loggingFilter: {
|
|
130
|
+
* defaultBehavior: "KEEP",
|
|
131
|
+
* filters: [{
|
|
132
|
+
* behavior: "DROP",
|
|
133
|
+
* requirement: "MEETS_ANY",
|
|
134
|
+
* conditions: [{
|
|
135
|
+
* actionCondition: {
|
|
136
|
+
* action: "ALLOW",
|
|
137
|
+
* },
|
|
138
|
+
* }],
|
|
139
|
+
* }],
|
|
140
|
+
* },
|
|
141
|
+
* redactedFields: [{
|
|
142
|
+
* queryString: "",
|
|
143
|
+
* singleHeader: {
|
|
144
|
+
* name: "authorization",
|
|
145
|
+
* },
|
|
146
|
+
* }],
|
|
147
|
+
* },
|
|
148
|
+
* },
|
|
149
|
+
* },
|
|
150
|
+
* }, {
|
|
151
|
+
* dependsOn: [example],
|
|
152
|
+
* });
|
|
153
|
+
* ```
|
|
154
|
+
*
|
|
56
155
|
* ### With Tags
|
|
57
156
|
*
|
|
58
157
|
* ```typescript
|
|
@@ -61,7 +160,7 @@ const utilities = __importStar(require("../utilities"));
|
|
|
61
160
|
*
|
|
62
161
|
* const example = new aws.observabilityadmin.TelemetryEvaluation("example", {});
|
|
63
162
|
* const exampleTelemetryRule = new aws.observabilityadmin.TelemetryRule("example", {
|
|
64
|
-
* ruleName: "
|
|
163
|
+
* ruleName: "tagged-rule",
|
|
65
164
|
* rule: {
|
|
66
165
|
* telemetryType: "Logs",
|
|
67
166
|
* resourceType: "AWS::EC2::VPC",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetryRule.js","sourceRoot":"","sources":["../../observabilityadmin/telemetryRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"telemetryRule.js","sourceRoot":"","sources":["../../observabilityadmin/telemetryRule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoKG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,gBAAg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