@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
|
@@ -29,7 +29,7 @@ exports.AgentcoreGatewayTarget = void 0;
|
|
|
29
29
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
30
|
const utilities = __importStar(require("../utilities"));
|
|
31
31
|
/**
|
|
32
|
-
* Manages an AWS Bedrock AgentCore Gateway Target. Gateway targets define the endpoints and configurations that a gateway can invoke, such as Lambda functions or
|
|
32
|
+
* Manages an AWS Bedrock AgentCore Gateway Target. Gateway targets define the endpoints and configurations that a gateway can invoke, such as Lambda functions, APIs, or AgentCore Runtime agents, allowing agents to interact with external services through the Model Context Protocol (MCP) or by routing HTTP traffic directly to a runtime.
|
|
33
33
|
*
|
|
34
34
|
* ## Example Usage
|
|
35
35
|
*
|
|
@@ -243,6 +243,32 @@ const utilities = __importStar(require("../utilities"));
|
|
|
243
243
|
* });
|
|
244
244
|
* ```
|
|
245
245
|
*
|
|
246
|
+
* ### Target with IAM SigV4 Authentication (MCP Server)
|
|
247
|
+
*
|
|
248
|
+
* Use this for `mcpServer` targets pointing at AWS-hosted SigV4-protected endpoints (e.g. another Bedrock AgentCore Runtime). The gateway signs upstream requests using its own IAM role.
|
|
249
|
+
*
|
|
250
|
+
* ```typescript
|
|
251
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
252
|
+
* import * as aws from "@pulumi/aws";
|
|
253
|
+
*
|
|
254
|
+
* const sigv4Example = new aws.bedrock.AgentcoreGatewayTarget("sigv4_example", {
|
|
255
|
+
* name: "sigv4-target",
|
|
256
|
+
* gatewayIdentifier: example.gatewayId,
|
|
257
|
+
* credentialProviderConfiguration: {
|
|
258
|
+
* gatewayIamRole: {
|
|
259
|
+
* service: "bedrock-agentcore",
|
|
260
|
+
* },
|
|
261
|
+
* },
|
|
262
|
+
* targetConfiguration: {
|
|
263
|
+
* mcp: {
|
|
264
|
+
* mcpServer: {
|
|
265
|
+
* endpoint: "https://example-runtime.bedrock-agentcore.us-east-1.amazonaws.com/runtimes/example/invocations?qualifier=DEFAULT",
|
|
266
|
+
* },
|
|
267
|
+
* },
|
|
268
|
+
* },
|
|
269
|
+
* });
|
|
270
|
+
* ```
|
|
271
|
+
*
|
|
246
272
|
* ### Complex Schema with JSON Serialization
|
|
247
273
|
*
|
|
248
274
|
* ```typescript
|
|
@@ -330,6 +356,123 @@ const utilities = __importStar(require("../utilities"));
|
|
|
330
356
|
* });
|
|
331
357
|
* ```
|
|
332
358
|
*
|
|
359
|
+
* ### HTTP Target Routing to an AgentCore Runtime
|
|
360
|
+
*
|
|
361
|
+
* Routes gateway traffic directly to an AgentCore Runtime agent over HTTP, without MCP aggregation. The gateway must not have a `protocolType` set.
|
|
362
|
+
*
|
|
363
|
+
* ```typescript
|
|
364
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
365
|
+
* import * as aws from "@pulumi/aws";
|
|
366
|
+
*
|
|
367
|
+
* const example = new aws.bedrock.AgentcoreAgentRuntime("example", {
|
|
368
|
+
* agentRuntimeName: "example-runtime",
|
|
369
|
+
* roleArn: runtimeRole.arn,
|
|
370
|
+
* agentRuntimeArtifact: {
|
|
371
|
+
* containerConfiguration: {
|
|
372
|
+
* containerUri: "111122223333.dkr.ecr.us-west-2.amazonaws.com/example-runtime:latest",
|
|
373
|
+
* },
|
|
374
|
+
* },
|
|
375
|
+
* networkConfiguration: {
|
|
376
|
+
* networkMode: "PUBLIC",
|
|
377
|
+
* },
|
|
378
|
+
* });
|
|
379
|
+
* const runtime = new aws.bedrock.AgentcoreGatewayTarget("runtime", {
|
|
380
|
+
* name: "runtime-target",
|
|
381
|
+
* gatewayIdentifier: exampleAwsBedrockagentcoreGateway.gatewayId,
|
|
382
|
+
* credentialProviderConfiguration: {
|
|
383
|
+
* gatewayIamRole: {},
|
|
384
|
+
* },
|
|
385
|
+
* targetConfiguration: {
|
|
386
|
+
* http: {
|
|
387
|
+
* agentcoreRuntime: {
|
|
388
|
+
* arn: example.agentRuntimeArn,
|
|
389
|
+
* qualifier: "DEFAULT",
|
|
390
|
+
* },
|
|
391
|
+
* },
|
|
392
|
+
* },
|
|
393
|
+
* });
|
|
394
|
+
* ```
|
|
395
|
+
*
|
|
396
|
+
* ### Self-hosted MCP server in a VPC (managed Lattice)
|
|
397
|
+
*
|
|
398
|
+
* ```typescript
|
|
399
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
400
|
+
* import * as aws from "@pulumi/aws";
|
|
401
|
+
*
|
|
402
|
+
* const example = new aws.bedrock.AgentcoreGatewayTarget("example", {
|
|
403
|
+
* gatewayIdentifier: exampleAwsBedrockagentcoreGateway.gatewayId,
|
|
404
|
+
* name: "my-private-mcp-target",
|
|
405
|
+
* targetConfiguration: {
|
|
406
|
+
* mcp: {
|
|
407
|
+
* mcpServer: {
|
|
408
|
+
* endpoint: "https://mcp.internal.example.com/mcp",
|
|
409
|
+
* },
|
|
410
|
+
* },
|
|
411
|
+
* },
|
|
412
|
+
* privateEndpoint: {
|
|
413
|
+
* managedVpcResource: {
|
|
414
|
+
* vpcIdentifier: exampleAwsVpc.id,
|
|
415
|
+
* subnetIds: exampleAwsSubnet.map(__item => __item.id),
|
|
416
|
+
* endpointIpAddressType: "IPV4",
|
|
417
|
+
* securityGroupIds: [mcpLattice.id],
|
|
418
|
+
* },
|
|
419
|
+
* },
|
|
420
|
+
* });
|
|
421
|
+
* ```
|
|
422
|
+
*
|
|
423
|
+
* ### Self-hosted MCP server with routing through an internal ALB
|
|
424
|
+
*
|
|
425
|
+
* Use `routingDomain` when the MCP server has a private TLS certificate. Place an internal ALB with a public ACM certificate in front of the server and set `routingDomain` to the ALB DNS name.
|
|
426
|
+
*
|
|
427
|
+
* ```typescript
|
|
428
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
429
|
+
* import * as aws from "@pulumi/aws";
|
|
430
|
+
*
|
|
431
|
+
* const example = new aws.bedrock.AgentcoreGatewayTarget("example", {
|
|
432
|
+
* gatewayIdentifier: exampleAwsBedrockagentcoreGateway.gatewayId,
|
|
433
|
+
* name: "my-private-mcp-via-alb",
|
|
434
|
+
* targetConfiguration: {
|
|
435
|
+
* mcp: {
|
|
436
|
+
* mcpServer: {
|
|
437
|
+
* endpoint: "https://mcp.example.com/mcp",
|
|
438
|
+
* },
|
|
439
|
+
* },
|
|
440
|
+
* },
|
|
441
|
+
* privateEndpoint: {
|
|
442
|
+
* managedVpcResource: {
|
|
443
|
+
* vpcIdentifier: exampleAwsVpc.id,
|
|
444
|
+
* subnetIds: exampleAwsSubnet.map(__item => __item.id),
|
|
445
|
+
* endpointIpAddressType: "IPV4",
|
|
446
|
+
* routingDomain: mcpAlb.dnsName,
|
|
447
|
+
* },
|
|
448
|
+
* },
|
|
449
|
+
* });
|
|
450
|
+
* ```
|
|
451
|
+
*
|
|
452
|
+
* ### Self-managed VPC Lattice resource configuration
|
|
453
|
+
*
|
|
454
|
+
* ```typescript
|
|
455
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
456
|
+
* import * as aws from "@pulumi/aws";
|
|
457
|
+
*
|
|
458
|
+
* const example = new aws.bedrock.AgentcoreGatewayTarget("example", {
|
|
459
|
+
* gatewayIdentifier: exampleAwsBedrockagentcoreGateway.gatewayId,
|
|
460
|
+
* name: "my-private-mcp-self-managed",
|
|
461
|
+
* targetConfiguration: {
|
|
462
|
+
* mcp: {
|
|
463
|
+
* mcpServer: {
|
|
464
|
+
* endpoint: "https://mcp.internal.example.com/mcp",
|
|
465
|
+
* },
|
|
466
|
+
* },
|
|
467
|
+
* },
|
|
468
|
+
* privateEndpoint: {
|
|
469
|
+
* selfManagedLatticeResource: {
|
|
470
|
+
* resourceConfigurationIdentifier: mcp.arn,
|
|
471
|
+
* },
|
|
472
|
+
* },
|
|
473
|
+
* });
|
|
474
|
+
* ```
|
|
475
|
+
*
|
|
333
476
|
* ## Import
|
|
334
477
|
*
|
|
335
478
|
* Using `pulumi import`, import Bedrock AgentCore Gateway Target using the gateway identifier and target ID separated by a comma. For example:
|
|
@@ -373,6 +516,7 @@ class AgentcoreGatewayTarget extends pulumi.CustomResource {
|
|
|
373
516
|
resourceInputs["gatewayIdentifier"] = state?.gatewayIdentifier;
|
|
374
517
|
resourceInputs["metadataConfiguration"] = state?.metadataConfiguration;
|
|
375
518
|
resourceInputs["name"] = state?.name;
|
|
519
|
+
resourceInputs["privateEndpoint"] = state?.privateEndpoint;
|
|
376
520
|
resourceInputs["region"] = state?.region;
|
|
377
521
|
resourceInputs["targetConfiguration"] = state?.targetConfiguration;
|
|
378
522
|
resourceInputs["targetId"] = state?.targetId;
|
|
@@ -391,6 +535,7 @@ class AgentcoreGatewayTarget extends pulumi.CustomResource {
|
|
|
391
535
|
resourceInputs["gatewayIdentifier"] = args?.gatewayIdentifier;
|
|
392
536
|
resourceInputs["metadataConfiguration"] = args?.metadataConfiguration;
|
|
393
537
|
resourceInputs["name"] = args?.name;
|
|
538
|
+
resourceInputs["privateEndpoint"] = args?.privateEndpoint;
|
|
394
539
|
resourceInputs["region"] = args?.region;
|
|
395
540
|
resourceInputs["targetConfiguration"] = args?.targetConfiguration;
|
|
396
541
|
resourceInputs["timeouts"] = args?.timeouts;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentcoreGatewayTarget.js","sourceRoot":"","sources":["../../bedrock/agentcoreGatewayTarget.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"agentcoreGatewayTarget.js","sourceRoot":"","sources":["../../bedrock/agentcoreGatewayTarget.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAocG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,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AAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACpD,MAAM,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;aACpE;YACD,IAAI,IAAI,EAAE,mBAAmB,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;aACtE;YACD,cAAc,CAAC,iCAAiC,CAAC,GAAG,IAAI,EAAE,+BAA+B,CAAC;YAC1F,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,EAAE,mBAAmB,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,sBAAsB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3E,CAAC;;AAhHL,wDAiHC"}
|
|
@@ -95,6 +95,10 @@ export declare class AgentcoreMemory extends pulumi.CustomResource {
|
|
|
95
95
|
* The following arguments are optional:
|
|
96
96
|
*/
|
|
97
97
|
readonly eventExpiryDuration: pulumi.Output<number>;
|
|
98
|
+
/**
|
|
99
|
+
* Metadata keys to index for filtering. Up to 10 entries. Changing this forces a new resource to be created. See `indexedKey` below.
|
|
100
|
+
*/
|
|
101
|
+
readonly indexedKeys: pulumi.Output<outputs.bedrock.AgentcoreMemoryIndexedKey[] | undefined>;
|
|
98
102
|
/**
|
|
99
103
|
* ARN of the IAM role that the memory service assumes to perform operations. Required when using custom memory strategies with model processing.
|
|
100
104
|
*/
|
|
@@ -107,6 +111,10 @@ export declare class AgentcoreMemory extends pulumi.CustomResource {
|
|
|
107
111
|
* 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.
|
|
108
112
|
*/
|
|
109
113
|
readonly region: pulumi.Output<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Configuration for streaming memory record data to external resources. See `streamDeliveryResources` below.
|
|
116
|
+
*/
|
|
117
|
+
readonly streamDeliveryResources: pulumi.Output<outputs.bedrock.AgentcoreMemoryStreamDeliveryResources | undefined>;
|
|
110
118
|
/**
|
|
111
119
|
* 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.
|
|
112
120
|
*/
|
|
@@ -151,6 +159,10 @@ export interface AgentcoreMemoryState {
|
|
|
151
159
|
* The following arguments are optional:
|
|
152
160
|
*/
|
|
153
161
|
eventExpiryDuration?: pulumi.Input<number | undefined>;
|
|
162
|
+
/**
|
|
163
|
+
* Metadata keys to index for filtering. Up to 10 entries. Changing this forces a new resource to be created. See `indexedKey` below.
|
|
164
|
+
*/
|
|
165
|
+
indexedKeys?: pulumi.Input<pulumi.Input<inputs.bedrock.AgentcoreMemoryIndexedKey>[] | undefined>;
|
|
154
166
|
/**
|
|
155
167
|
* ARN of the IAM role that the memory service assumes to perform operations. Required when using custom memory strategies with model processing.
|
|
156
168
|
*/
|
|
@@ -163,6 +175,10 @@ export interface AgentcoreMemoryState {
|
|
|
163
175
|
* 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
176
|
*/
|
|
165
177
|
region?: pulumi.Input<string | undefined>;
|
|
178
|
+
/**
|
|
179
|
+
* Configuration for streaming memory record data to external resources. See `streamDeliveryResources` below.
|
|
180
|
+
*/
|
|
181
|
+
streamDeliveryResources?: pulumi.Input<inputs.bedrock.AgentcoreMemoryStreamDeliveryResources | undefined>;
|
|
166
182
|
/**
|
|
167
183
|
* 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.
|
|
168
184
|
*/
|
|
@@ -195,6 +211,10 @@ export interface AgentcoreMemoryArgs {
|
|
|
195
211
|
* The following arguments are optional:
|
|
196
212
|
*/
|
|
197
213
|
eventExpiryDuration: pulumi.Input<number>;
|
|
214
|
+
/**
|
|
215
|
+
* Metadata keys to index for filtering. Up to 10 entries. Changing this forces a new resource to be created. See `indexedKey` below.
|
|
216
|
+
*/
|
|
217
|
+
indexedKeys?: pulumi.Input<pulumi.Input<inputs.bedrock.AgentcoreMemoryIndexedKey>[] | undefined>;
|
|
198
218
|
/**
|
|
199
219
|
* ARN of the IAM role that the memory service assumes to perform operations. Required when using custom memory strategies with model processing.
|
|
200
220
|
*/
|
|
@@ -207,6 +227,10 @@ export interface AgentcoreMemoryArgs {
|
|
|
207
227
|
* 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.
|
|
208
228
|
*/
|
|
209
229
|
region?: pulumi.Input<string | undefined>;
|
|
230
|
+
/**
|
|
231
|
+
* Configuration for streaming memory record data to external resources. See `streamDeliveryResources` below.
|
|
232
|
+
*/
|
|
233
|
+
streamDeliveryResources?: pulumi.Input<inputs.bedrock.AgentcoreMemoryStreamDeliveryResources | undefined>;
|
|
210
234
|
/**
|
|
211
235
|
* 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.
|
|
212
236
|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S,CAAC,CAAC;IACvE,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;CAC/E"}
|
|
@@ -122,9 +122,11 @@ class AgentcoreMemory extends pulumi.CustomResource {
|
|
|
122
122
|
resourceInputs["description"] = state?.description;
|
|
123
123
|
resourceInputs["encryptionKeyArn"] = state?.encryptionKeyArn;
|
|
124
124
|
resourceInputs["eventExpiryDuration"] = state?.eventExpiryDuration;
|
|
125
|
+
resourceInputs["indexedKeys"] = state?.indexedKeys;
|
|
125
126
|
resourceInputs["memoryExecutionRoleArn"] = state?.memoryExecutionRoleArn;
|
|
126
127
|
resourceInputs["name"] = state?.name;
|
|
127
128
|
resourceInputs["region"] = state?.region;
|
|
129
|
+
resourceInputs["streamDeliveryResources"] = state?.streamDeliveryResources;
|
|
128
130
|
resourceInputs["tags"] = state?.tags;
|
|
129
131
|
resourceInputs["tagsAll"] = state?.tagsAll;
|
|
130
132
|
resourceInputs["timeouts"] = state?.timeouts;
|
|
@@ -137,9 +139,11 @@ class AgentcoreMemory extends pulumi.CustomResource {
|
|
|
137
139
|
resourceInputs["description"] = args?.description;
|
|
138
140
|
resourceInputs["encryptionKeyArn"] = args?.encryptionKeyArn;
|
|
139
141
|
resourceInputs["eventExpiryDuration"] = args?.eventExpiryDuration;
|
|
142
|
+
resourceInputs["indexedKeys"] = args?.indexedKeys;
|
|
140
143
|
resourceInputs["memoryExecutionRoleArn"] = args?.memoryExecutionRoleArn;
|
|
141
144
|
resourceInputs["name"] = args?.name;
|
|
142
145
|
resourceInputs["region"] = args?.region;
|
|
146
|
+
resourceInputs["streamDeliveryResources"] = args?.streamDeliveryResources;
|
|
143
147
|
resourceInputs["tags"] = args?.tags;
|
|
144
148
|
resourceInputs["timeouts"] = args?.timeouts;
|
|
145
149
|
resourceInputs["arn"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentcoreMemory.js","sourceRoot":"","sources":["../../bedrock/agentcoreMemory.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,6CAA6C,CAAC;IAEpF;;;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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;
|
|
1
|
+
{"version":3,"file":"agentcoreMemory.js","sourceRoot":"","sources":["../../bedrock/agentcoreMemory.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK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+1,179 @@
|
|
|
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 AWS Bedrock AgentCore Policy. A Policy attaches Cedar authorization rules to a Policy Engine, which evaluates them at runtime to control agent access to resources.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ### Cedar Policy
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as aws from "@pulumi/aws";
|
|
14
|
+
*
|
|
15
|
+
* const example = new aws.bedrock.AgentcorePolicy("example", {
|
|
16
|
+
* name: "example_policy",
|
|
17
|
+
* policyEngineId: exampleAwsBedrockagentcorePolicyEngine.policyEngineId,
|
|
18
|
+
* description: "Allow read access to example resources",
|
|
19
|
+
* definition: {
|
|
20
|
+
* cedar: {
|
|
21
|
+
* statement: "permit(principal, action == Action::\\\"Read\\\", resource);\n",
|
|
22
|
+
* },
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* ### Identity Schema
|
|
30
|
+
*
|
|
31
|
+
* #### Required
|
|
32
|
+
*
|
|
33
|
+
* - `policyEngineId` (String) ID of the policy engine.
|
|
34
|
+
* - `policyId` (String) ID of the policy.
|
|
35
|
+
*
|
|
36
|
+
* #### Optional
|
|
37
|
+
*
|
|
38
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
39
|
+
* * `region` (String) Region where this resource is managed.
|
|
40
|
+
*
|
|
41
|
+
* Using `pulumi import`, import Bedrock AgentCore Policies using the `policyEngineId` and `policyId` separated by a comma. For example:
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import aws:bedrock/agentcorePolicy:AgentcorePolicy example PolicyEngine_i2fo6-dyqwrzl954,policy_ar2c3-o_rospxr2j
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
export declare class AgentcorePolicy extends pulumi.CustomResource {
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing AgentcorePolicy resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param state Any extra arguments used during the lookup.
|
|
55
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
56
|
+
*/
|
|
57
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AgentcorePolicyState, opts?: pulumi.CustomResourceOptions): AgentcorePolicy;
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of AgentcorePolicy. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj: any): obj is AgentcorePolicy;
|
|
63
|
+
/**
|
|
64
|
+
* Policy definition. See `definition` Block for details.
|
|
65
|
+
*/
|
|
66
|
+
readonly definition: pulumi.Output<outputs.bedrock.AgentcorePolicyDefinition>;
|
|
67
|
+
/**
|
|
68
|
+
* Description of the policy.
|
|
69
|
+
*/
|
|
70
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* Name of the policy. Must be 1-48 characters and match the pattern `^[A-Za-z][A-Za-z0-9_]*$`. Changing this forces a new resource to be created.
|
|
73
|
+
*/
|
|
74
|
+
readonly name: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* ARN of the Policy.
|
|
77
|
+
*/
|
|
78
|
+
readonly policyArn: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* Identifier of the Policy Engine that owns this policy. Changing this forces a new resource to be created.
|
|
81
|
+
*
|
|
82
|
+
* The following arguments are optional:
|
|
83
|
+
*/
|
|
84
|
+
readonly policyEngineId: pulumi.Output<string>;
|
|
85
|
+
/**
|
|
86
|
+
* Identifier of the Policy.
|
|
87
|
+
*/
|
|
88
|
+
readonly policyId: pulumi.Output<string>;
|
|
89
|
+
/**
|
|
90
|
+
* 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.
|
|
91
|
+
*/
|
|
92
|
+
readonly region: pulumi.Output<string>;
|
|
93
|
+
readonly timeouts: pulumi.Output<outputs.bedrock.AgentcorePolicyTimeouts | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* Controls whether validation findings cause policy creation or update to fail. Valid values: `FAIL_ON_ANY_FINDINGS`, `IGNORE_ALL_FINDINGS`. Defaults to `FAIL_ON_ANY_FINDINGS`.
|
|
96
|
+
*/
|
|
97
|
+
readonly validationMode: pulumi.Output<string | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* Create a AgentcorePolicy resource with the given unique name, arguments, and options.
|
|
100
|
+
*
|
|
101
|
+
* @param name The _unique_ name of the resource.
|
|
102
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
103
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
104
|
+
*/
|
|
105
|
+
constructor(name: string, args: AgentcorePolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Input properties used for looking up and filtering AgentcorePolicy resources.
|
|
109
|
+
*/
|
|
110
|
+
export interface AgentcorePolicyState {
|
|
111
|
+
/**
|
|
112
|
+
* Policy definition. See `definition` Block for details.
|
|
113
|
+
*/
|
|
114
|
+
definition?: pulumi.Input<inputs.bedrock.AgentcorePolicyDefinition | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* Description of the policy.
|
|
117
|
+
*/
|
|
118
|
+
description?: pulumi.Input<string | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* Name of the policy. Must be 1-48 characters and match the pattern `^[A-Za-z][A-Za-z0-9_]*$`. Changing this forces a new resource to be created.
|
|
121
|
+
*/
|
|
122
|
+
name?: pulumi.Input<string | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* ARN of the Policy.
|
|
125
|
+
*/
|
|
126
|
+
policyArn?: pulumi.Input<string | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* Identifier of the Policy Engine that owns this policy. Changing this forces a new resource to be created.
|
|
129
|
+
*
|
|
130
|
+
* The following arguments are optional:
|
|
131
|
+
*/
|
|
132
|
+
policyEngineId?: pulumi.Input<string | undefined>;
|
|
133
|
+
/**
|
|
134
|
+
* Identifier of the Policy.
|
|
135
|
+
*/
|
|
136
|
+
policyId?: pulumi.Input<string | 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
|
+
timeouts?: pulumi.Input<inputs.bedrock.AgentcorePolicyTimeouts | undefined>;
|
|
142
|
+
/**
|
|
143
|
+
* Controls whether validation findings cause policy creation or update to fail. Valid values: `FAIL_ON_ANY_FINDINGS`, `IGNORE_ALL_FINDINGS`. Defaults to `FAIL_ON_ANY_FINDINGS`.
|
|
144
|
+
*/
|
|
145
|
+
validationMode?: pulumi.Input<string | undefined>;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* The set of arguments for constructing a AgentcorePolicy resource.
|
|
149
|
+
*/
|
|
150
|
+
export interface AgentcorePolicyArgs {
|
|
151
|
+
/**
|
|
152
|
+
* Policy definition. See `definition` Block for details.
|
|
153
|
+
*/
|
|
154
|
+
definition: pulumi.Input<inputs.bedrock.AgentcorePolicyDefinition>;
|
|
155
|
+
/**
|
|
156
|
+
* Description of the policy.
|
|
157
|
+
*/
|
|
158
|
+
description?: pulumi.Input<string | undefined>;
|
|
159
|
+
/**
|
|
160
|
+
* Name of the policy. Must be 1-48 characters and match the pattern `^[A-Za-z][A-Za-z0-9_]*$`. Changing this forces a new resource to be created.
|
|
161
|
+
*/
|
|
162
|
+
name?: pulumi.Input<string | undefined>;
|
|
163
|
+
/**
|
|
164
|
+
* Identifier of the Policy Engine that owns this policy. Changing this forces a new resource to be created.
|
|
165
|
+
*
|
|
166
|
+
* The following arguments are optional:
|
|
167
|
+
*/
|
|
168
|
+
policyEngineId: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* 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.
|
|
171
|
+
*/
|
|
172
|
+
region?: pulumi.Input<string | undefined>;
|
|
173
|
+
timeouts?: pulumi.Input<inputs.bedrock.AgentcorePolicyTimeouts | undefined>;
|
|
174
|
+
/**
|
|
175
|
+
* Controls whether validation findings cause policy creation or update to fail. Valid values: `FAIL_ON_ANY_FINDINGS`, `IGNORE_ALL_FINDINGS`. Defaults to `FAIL_ON_ANY_FINDINGS`.
|
|
176
|
+
*/
|
|
177
|
+
validationMode?: pulumi.Input<string | undefined>;
|
|
178
|
+
}
|
|
179
|
+
//# sourceMappingURL=agentcorePolicy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentcorePolicy.d.ts","sourceRoot":"","sources":["../../bedrock/agentcorePolicy.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,qBAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAA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AS,CAAC,CAAC;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;IAC5E;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACrD"}
|
|
@@ -0,0 +1,137 @@
|
|
|
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.AgentcorePolicy = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Manages an AWS Bedrock AgentCore Policy. A Policy attaches Cedar authorization rules to a Policy Engine, which evaluates them at runtime to control agent access to resources.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ### Cedar Policy
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as aws from "@pulumi/aws";
|
|
41
|
+
*
|
|
42
|
+
* const example = new aws.bedrock.AgentcorePolicy("example", {
|
|
43
|
+
* name: "example_policy",
|
|
44
|
+
* policyEngineId: exampleAwsBedrockagentcorePolicyEngine.policyEngineId,
|
|
45
|
+
* description: "Allow read access to example resources",
|
|
46
|
+
* definition: {
|
|
47
|
+
* cedar: {
|
|
48
|
+
* statement: "permit(principal, action == Action::\\\"Read\\\", resource);\n",
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* ## Import
|
|
55
|
+
*
|
|
56
|
+
* ### Identity Schema
|
|
57
|
+
*
|
|
58
|
+
* #### Required
|
|
59
|
+
*
|
|
60
|
+
* - `policyEngineId` (String) ID of the policy engine.
|
|
61
|
+
* - `policyId` (String) ID of the policy.
|
|
62
|
+
*
|
|
63
|
+
* #### Optional
|
|
64
|
+
*
|
|
65
|
+
* * `accountId` (String) AWS Account where this resource is managed.
|
|
66
|
+
* * `region` (String) Region where this resource is managed.
|
|
67
|
+
*
|
|
68
|
+
* Using `pulumi import`, import Bedrock AgentCore Policies using the `policyEngineId` and `policyId` separated by a comma. For example:
|
|
69
|
+
*
|
|
70
|
+
* ```sh
|
|
71
|
+
* $ pulumi import aws:bedrock/agentcorePolicy:AgentcorePolicy example PolicyEngine_i2fo6-dyqwrzl954,policy_ar2c3-o_rospxr2j
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
class AgentcorePolicy extends pulumi.CustomResource {
|
|
75
|
+
/**
|
|
76
|
+
* Get an existing AgentcorePolicy resource's state with the given name, ID, and optional extra
|
|
77
|
+
* properties used to qualify the lookup.
|
|
78
|
+
*
|
|
79
|
+
* @param name The _unique_ name of the resulting resource.
|
|
80
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
81
|
+
* @param state Any extra arguments used during the lookup.
|
|
82
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
83
|
+
*/
|
|
84
|
+
static get(name, id, state, opts) {
|
|
85
|
+
return new AgentcorePolicy(name, state, { ...opts, id: id });
|
|
86
|
+
}
|
|
87
|
+
/** @internal */
|
|
88
|
+
static __pulumiType = 'aws:bedrock/agentcorePolicy:AgentcorePolicy';
|
|
89
|
+
/**
|
|
90
|
+
* Returns true if the given object is an instance of AgentcorePolicy. This is designed to work even
|
|
91
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
92
|
+
*/
|
|
93
|
+
static isInstance(obj) {
|
|
94
|
+
if (obj === undefined || obj === null) {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
return obj['__pulumiType'] === AgentcorePolicy.__pulumiType;
|
|
98
|
+
}
|
|
99
|
+
constructor(name, argsOrState, opts) {
|
|
100
|
+
let resourceInputs = {};
|
|
101
|
+
opts = opts || {};
|
|
102
|
+
if (opts.id) {
|
|
103
|
+
const state = argsOrState;
|
|
104
|
+
resourceInputs["definition"] = state?.definition;
|
|
105
|
+
resourceInputs["description"] = state?.description;
|
|
106
|
+
resourceInputs["name"] = state?.name;
|
|
107
|
+
resourceInputs["policyArn"] = state?.policyArn;
|
|
108
|
+
resourceInputs["policyEngineId"] = state?.policyEngineId;
|
|
109
|
+
resourceInputs["policyId"] = state?.policyId;
|
|
110
|
+
resourceInputs["region"] = state?.region;
|
|
111
|
+
resourceInputs["timeouts"] = state?.timeouts;
|
|
112
|
+
resourceInputs["validationMode"] = state?.validationMode;
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
const args = argsOrState;
|
|
116
|
+
if (args?.definition === undefined && !opts.urn) {
|
|
117
|
+
throw new Error("Missing required property 'definition'");
|
|
118
|
+
}
|
|
119
|
+
if (args?.policyEngineId === undefined && !opts.urn) {
|
|
120
|
+
throw new Error("Missing required property 'policyEngineId'");
|
|
121
|
+
}
|
|
122
|
+
resourceInputs["definition"] = args?.definition;
|
|
123
|
+
resourceInputs["description"] = args?.description;
|
|
124
|
+
resourceInputs["name"] = args?.name;
|
|
125
|
+
resourceInputs["policyEngineId"] = args?.policyEngineId;
|
|
126
|
+
resourceInputs["region"] = args?.region;
|
|
127
|
+
resourceInputs["timeouts"] = args?.timeouts;
|
|
128
|
+
resourceInputs["validationMode"] = args?.validationMode;
|
|
129
|
+
resourceInputs["policyArn"] = undefined /*out*/;
|
|
130
|
+
resourceInputs["policyId"] = undefined /*out*/;
|
|
131
|
+
}
|
|
132
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
133
|
+
super(AgentcorePolicy.__pulumiType, name, resourceInputs, opts);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
exports.AgentcorePolicy = AgentcorePolicy;
|
|
137
|
+
//# sourceMappingURL=agentcorePolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentcorePolicy.js","sourceRoot":"","sources":["../../bedrock/agentcorePolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KA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AAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,IAAI,EAAE,cAAc,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA1GL,0CA2GC"}
|
package/bedrock/index.d.ts
CHANGED
|
@@ -61,6 +61,9 @@ export declare const AgentcoreOauth2CredentialProvider: typeof import("./agentco
|
|
|
61
61
|
export { AgentcoreOnlineEvaluationConfigArgs, AgentcoreOnlineEvaluationConfigState } from "./agentcoreOnlineEvaluationConfig";
|
|
62
62
|
export type AgentcoreOnlineEvaluationConfig = import("./agentcoreOnlineEvaluationConfig").AgentcoreOnlineEvaluationConfig;
|
|
63
63
|
export declare const AgentcoreOnlineEvaluationConfig: typeof import("./agentcoreOnlineEvaluationConfig").AgentcoreOnlineEvaluationConfig;
|
|
64
|
+
export { AgentcorePolicyArgs, AgentcorePolicyState } from "./agentcorePolicy";
|
|
65
|
+
export type AgentcorePolicy = import("./agentcorePolicy").AgentcorePolicy;
|
|
66
|
+
export declare const AgentcorePolicy: typeof import("./agentcorePolicy").AgentcorePolicy;
|
|
64
67
|
export { AgentcorePolicyEngineArgs, AgentcorePolicyEngineState } from "./agentcorePolicyEngine";
|
|
65
68
|
export type AgentcorePolicyEngine = import("./agentcorePolicyEngine").AgentcorePolicyEngine;
|
|
66
69
|
export declare const AgentcorePolicyEngine: typeof import("./agentcorePolicyEngine").AgentcorePolicyEngine;
|