We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type definition for AWS::BedrockAgentCore::PolicyEngine
Create PolicyEngine Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyEngine(name: string, args?: PolicyEngineArgs, opts?: CustomResourceOptions);@overload
def PolicyEngine(resource_name: str,
args: Optional[PolicyEngineArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyEngine(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
encryption_key_arn: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewPolicyEngine(ctx *Context, name string, args *PolicyEngineArgs, opts ...ResourceOption) (*PolicyEngine, error)public PolicyEngine(string name, PolicyEngineArgs? args = null, CustomResourceOptions? opts = null)
public PolicyEngine(String name, PolicyEngineArgs args)
public PolicyEngine(String name, PolicyEngineArgs args, CustomResourceOptions options)
type: aws-native:bedrockagentcore:PolicyEngine
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_bedrockagentcore_policy_engine" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PolicyEngineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args PolicyEngineArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args PolicyEngineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyEngineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyEngineArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
PolicyEngine Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The PolicyEngine resource accepts the following input properties:
- Description string
- A human-readable description of the policy engine's purpose and scope
- Encryption
Key stringArn - The ARN of the KMS key used to encrypt the policy engine data
- Name string
- The customer-assigned immutable name for the policy engine
-
List<Pulumi.
Aws Native. Inputs. Tag> - A list of tags to assign to the policy engine.
- Description string
- A human-readable description of the policy engine's purpose and scope
- Encryption
Key stringArn - The ARN of the KMS key used to encrypt the policy engine data
- Name string
- The customer-assigned immutable name for the policy engine
-
Tag
Args - A list of tags to assign to the policy engine.
- description string
- A human-readable description of the policy engine's purpose and scope
- encryption_
key_ stringarn - The ARN of the KMS key used to encrypt the policy engine data
- name string
- The customer-assigned immutable name for the policy engine
- list(object)
- A list of tags to assign to the policy engine.
- description String
- A human-readable description of the policy engine's purpose and scope
- encryption
Key StringArn - The ARN of the KMS key used to encrypt the policy engine data
- name String
- The customer-assigned immutable name for the policy engine
- List<Tag>
- A list of tags to assign to the policy engine.
- description string
- A human-readable description of the policy engine's purpose and scope
- encryption
Key stringArn - The ARN of the KMS key used to encrypt the policy engine data
- name string
- The customer-assigned immutable name for the policy engine
- Tag[]
- A list of tags to assign to the policy engine.
- description str
- A human-readable description of the policy engine's purpose and scope
- encryption_
key_ strarn - The ARN of the KMS key used to encrypt the policy engine data
- name str
- The customer-assigned immutable name for the policy engine
-
Sequence[Tag
Args] - A list of tags to assign to the policy engine.
- description String
- A human-readable description of the policy engine's purpose and scope
- encryption
Key StringArn - The ARN of the KMS key used to encrypt the policy engine data
- name String
- The customer-assigned immutable name for the policy engine
- List<Property Map>
- A list of tags to assign to the policy engine.
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyEngine resource produces the following output properties:
- Created
At string - The timestamp when the policy engine was created
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Engine stringArn - The Amazon Resource Name (ARN) of the policy engine
- Policy
Engine stringId - The unique identifier for the policy engine
- Status
Pulumi.
Aws Native. Bedrock Agent Core. Policy Engine Status - The current status of the policy engine
- Status
Reasons List<string> - Additional information about the policy engine status
- Updated
At string - The timestamp when the policy engine was last updated
- Created
At string - The timestamp when the policy engine was created
- Id string
- The provider-assigned unique ID for this managed resource.
- Policy
Engine stringArn - The Amazon Resource Name (ARN) of the policy engine
- Policy
Engine stringId - The unique identifier for the policy engine
- Status
Policy
Engine Status - The current status of the policy engine
- Status
Reasons []string - Additional information about the policy engine status
- Updated
At string - The timestamp when the policy engine was last updated
- created_
at string - The timestamp when the policy engine was created
- id string
- The provider-assigned unique ID for this managed resource.
- policy_
engine_ stringarn - The Amazon Resource Name (ARN) of the policy engine
- policy_
engine_ stringid - The unique identifier for the policy engine
- status "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED"
- The current status of the policy engine
- status_
reasons list(string) - Additional information about the policy engine status
- updated_
at string - The timestamp when the policy engine was last updated
- created
At String - The timestamp when the policy engine was created
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Engine StringArn - The Amazon Resource Name (ARN) of the policy engine
- policy
Engine StringId - The unique identifier for the policy engine
- status
Policy
Engine Status - The current status of the policy engine
- status
Reasons List<String> - Additional information about the policy engine status
- updated
At String - The timestamp when the policy engine was last updated
- created
At string - The timestamp when the policy engine was created
- id string
- The provider-assigned unique ID for this managed resource.
- policy
Engine stringArn - The Amazon Resource Name (ARN) of the policy engine
- policy
Engine stringId - The unique identifier for the policy engine
- status
Policy
Engine Status - The current status of the policy engine
- status
Reasons string[] - Additional information about the policy engine status
- updated
At string - The timestamp when the policy engine was last updated
- created_
at str - The timestamp when the policy engine was created
- id str
- The provider-assigned unique ID for this managed resource.
- policy_
engine_ strarn - The Amazon Resource Name (ARN) of the policy engine
- policy_
engine_ strid - The unique identifier for the policy engine
- status
Policy
Engine Status - The current status of the policy engine
- status_
reasons Sequence[str] - Additional information about the policy engine status
- updated_
at str - The timestamp when the policy engine was last updated
- created
At String - The timestamp when the policy engine was created
- id String
- The provider-assigned unique ID for this managed resource.
- policy
Engine StringArn - The Amazon Resource Name (ARN) of the policy engine
- policy
Engine StringId - The unique identifier for the policy engine
- status "CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "UPDATE_FAILED" | "DELETE_FAILED"
- The current status of the policy engine
- status
Reasons List<String> - Additional information about the policy engine status
- updated
At String - The timestamp when the policy engine was last updated
Look up Existing PolicyEngine Resource
Get an existing PolicyEngine resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): PolicyEngine@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> PolicyEnginefunc GetPolicyEngine(ctx *Context, name string, id IDInput, state *PolicyEngineState, opts ...ResourceOption) (*PolicyEngine, error)public static PolicyEngine Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static PolicyEngine get(String name, Output<String> id, CustomResourceOptions options)resources: existingPolicyEngine: type: aws-native:bedrockagentcore:PolicyEngine get: id: ${id}import {
to = aws-native_bedrockagentcore_policy_engine.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state PolicyEngineState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
PolicyEngineStatus
| Name | Value |
|---|---|
| Creating | CREATING |
| Active | ACTIVE |
| Updating | UPDATING |
| Deleting | DELETING |
| Create | CREATE_FAILED |
| Update | UPDATE_FAILED |
| Delete | DELETE_FAILED |
| Name | Value |
|---|---|
| Policy | CREATING |
| Policy | ACTIVE |
| Policy | UPDATING |
| Policy | DELETING |
| Policy | CREATE_FAILED |
| Policy | UPDATE_FAILED |
| Policy | DELETE_FAILED |
| Value |
|---|
CREATING |
ACTIVE |
UPDATING |
DELETING |
CREATE_FAILED |
UPDATE_FAILED |
DELETE_FAILED |
| Name | Value |
|---|---|
| Creating | CREATING |
| Active | ACTIVE |
| Updating | UPDATING |
| Deleting | DELETING |
| Create | CREATE_FAILED |
| Update | UPDATE_FAILED |
| Delete | DELETE_FAILED |
| Name | Value |
|---|---|
| Creating | CREATING |
| Active | ACTIVE |
| Updating | UPDATING |
| Deleting | DELETING |
| Create | CREATE_FAILED |
| Update | UPDATE_FAILED |
| Delete | DELETE_FAILED |
| Name | Value |
|---|---|
| CREATING | CREATING |
| ACTIVE | ACTIVE |
| UPDATING | UPDATING |
| DELETING | DELETING |
| CREATE_FAILED | CREATE_FAILED |
| UPDATE_FAILED | UPDATE_FAILED |
| DELETE_FAILED | DELETE_FAILED |
| Value |
|---|
CREATING |
ACTIVE |
UPDATING |
DELETING |
CREATE_FAILED |
UPDATE_FAILED |
DELETE_FAILED |
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi