We recommend new projects start with resources from the AWS provider.
published on Monday, Apr 20, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Apr 20, 2026 by Pulumi
Definition of AWS::Bedrock::EnforcedGuardrailConfiguration Resource Type
Create EnforcedGuardrailConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new EnforcedGuardrailConfiguration(name: string, args: EnforcedGuardrailConfigurationArgs, opts?: CustomResourceOptions);@overload
def EnforcedGuardrailConfiguration(resource_name: str,
args: EnforcedGuardrailConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def EnforcedGuardrailConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
guardrail_identifier: Optional[str] = None,
guardrail_version: Optional[str] = None,
model_enforcement: Optional[EnforcedGuardrailConfigurationModelEnforcementArgs] = None,
selective_content_guarding: Optional[EnforcedGuardrailConfigurationSelectiveContentGuardingArgs] = None)func NewEnforcedGuardrailConfiguration(ctx *Context, name string, args EnforcedGuardrailConfigurationArgs, opts ...ResourceOption) (*EnforcedGuardrailConfiguration, error)public EnforcedGuardrailConfiguration(string name, EnforcedGuardrailConfigurationArgs args, CustomResourceOptions? opts = null)
public EnforcedGuardrailConfiguration(String name, EnforcedGuardrailConfigurationArgs args)
public EnforcedGuardrailConfiguration(String name, EnforcedGuardrailConfigurationArgs args, CustomResourceOptions options)
type: aws-native:bedrock:EnforcedGuardrailConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args EnforcedGuardrailConfigurationArgs
- 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 EnforcedGuardrailConfigurationArgs
- 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 EnforcedGuardrailConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args EnforcedGuardrailConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args EnforcedGuardrailConfigurationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
EnforcedGuardrailConfiguration 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 EnforcedGuardrailConfiguration resource accepts the following input properties:
- Guardrail
Identifier string - Identifier for the guardrail, could be the ID or the ARN
- Guardrail
Version string - Numerical guardrail version (not DRAFT)
- Model
Enforcement Pulumi.Aws Native. Bedrock. Inputs. Enforced Guardrail Configuration Model Enforcement - Selective
Content Pulumi.Guarding Aws Native. Bedrock. Inputs. Enforced Guardrail Configuration Selective Content Guarding
- Guardrail
Identifier string - Identifier for the guardrail, could be the ID or the ARN
- Guardrail
Version string - Numerical guardrail version (not DRAFT)
- Model
Enforcement EnforcedGuardrail Configuration Model Enforcement Args - Selective
Content EnforcedGuarding Guardrail Configuration Selective Content Guarding Args
- guardrail
Identifier String - Identifier for the guardrail, could be the ID or the ARN
- guardrail
Version String - Numerical guardrail version (not DRAFT)
- model
Enforcement EnforcedGuardrail Configuration Model Enforcement - selective
Content EnforcedGuarding Guardrail Configuration Selective Content Guarding
- guardrail
Identifier string - Identifier for the guardrail, could be the ID or the ARN
- guardrail
Version string - Numerical guardrail version (not DRAFT)
- model
Enforcement EnforcedGuardrail Configuration Model Enforcement - selective
Content EnforcedGuarding Guardrail Configuration Selective Content Guarding
- guardrail_
identifier str - Identifier for the guardrail, could be the ID or the ARN
- guardrail_
version str - Numerical guardrail version (not DRAFT)
- model_
enforcement EnforcedGuardrail Configuration Model Enforcement Args - selective_
content_ Enforcedguarding Guardrail Configuration Selective Content Guarding Args
- guardrail
Identifier String - Identifier for the guardrail, could be the ID or the ARN
- guardrail
Version String - Numerical guardrail version (not DRAFT)
- model
Enforcement Property Map - selective
Content Property MapGuarding
Outputs
All input properties are implicitly available as output properties. Additionally, the EnforcedGuardrailConfiguration resource produces the following output properties:
- Config
Id string - Unique ID for the account enforced configuration
- Created
At string - Timestamp when the configuration was created
- Created
By string - The ARN of the role used to create the configuration
- Guardrail
Arn string - ARN representation for the guardrail
- Guardrail
Id string - Unique ID for the guardrail
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Pulumi.
Aws Native. Bedrock. Enforced Guardrail Configuration Config Owner - Updated
At string - Timestamp when the configuration was last updated
- Updated
By string - The ARN of the role used to update the configuration
- Config
Id string - Unique ID for the account enforced configuration
- Created
At string - Timestamp when the configuration was created
- Created
By string - The ARN of the role used to create the configuration
- Guardrail
Arn string - ARN representation for the guardrail
- Guardrail
Id string - Unique ID for the guardrail
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Enforced
Guardrail Configuration Config Owner - Updated
At string - Timestamp when the configuration was last updated
- Updated
By string - The ARN of the role used to update the configuration
- config
Id String - Unique ID for the account enforced configuration
- created
At String - Timestamp when the configuration was created
- created
By String - The ARN of the role used to create the configuration
- guardrail
Arn String - ARN representation for the guardrail
- guardrail
Id String - Unique ID for the guardrail
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Enforced
Guardrail Configuration Config Owner - updated
At String - Timestamp when the configuration was last updated
- updated
By String - The ARN of the role used to update the configuration
- config
Id string - Unique ID for the account enforced configuration
- created
At string - Timestamp when the configuration was created
- created
By string - The ARN of the role used to create the configuration
- guardrail
Arn string - ARN representation for the guardrail
- guardrail
Id string - Unique ID for the guardrail
- id string
- The provider-assigned unique ID for this managed resource.
- owner
Enforced
Guardrail Configuration Config Owner - updated
At string - Timestamp when the configuration was last updated
- updated
By string - The ARN of the role used to update the configuration
- config_
id str - Unique ID for the account enforced configuration
- created_
at str - Timestamp when the configuration was created
- created_
by str - The ARN of the role used to create the configuration
- guardrail_
arn str - ARN representation for the guardrail
- guardrail_
id str - Unique ID for the guardrail
- id str
- The provider-assigned unique ID for this managed resource.
- owner
Enforced
Guardrail Configuration Config Owner - updated_
at str - Timestamp when the configuration was last updated
- updated_
by str - The ARN of the role used to update the configuration
- config
Id String - Unique ID for the account enforced configuration
- created
At String - Timestamp when the configuration was created
- created
By String - The ARN of the role used to create the configuration
- guardrail
Arn String - ARN representation for the guardrail
- guardrail
Id String - Unique ID for the guardrail
- id String
- The provider-assigned unique ID for this managed resource.
- owner "ACCOUNT"
- updated
At String - Timestamp when the configuration was last updated
- updated
By String - The ARN of the role used to update the configuration
Supporting Types
EnforcedGuardrailConfigurationConfigOwner, EnforcedGuardrailConfigurationConfigOwnerArgs
- Account
ACCOUNT
- Enforced
Guardrail Configuration Config Owner Account ACCOUNT
- Account
ACCOUNT
- Account
ACCOUNT
- ACCOUNT
ACCOUNT
- "ACCOUNT"
ACCOUNT
EnforcedGuardrailConfigurationModelEnforcement, EnforcedGuardrailConfigurationModelEnforcementArgs
Model-specific information for the enforced guardrail configuration. If not present, the configuration is enforced on all models- Excluded
Models List<string> - Models to exclude from enforcement. If a model is in both lists, it is excluded
- Included
Models List<string> - Models to enforce the guardrail on
- Excluded
Models []string - Models to exclude from enforcement. If a model is in both lists, it is excluded
- Included
Models []string - Models to enforce the guardrail on
- excluded
Models List<String> - Models to exclude from enforcement. If a model is in both lists, it is excluded
- included
Models List<String> - Models to enforce the guardrail on
- excluded
Models string[] - Models to exclude from enforcement. If a model is in both lists, it is excluded
- included
Models string[] - Models to enforce the guardrail on
- excluded_
models Sequence[str] - Models to exclude from enforcement. If a model is in both lists, it is excluded
- included_
models Sequence[str] - Models to enforce the guardrail on
- excluded
Models List<String> - Models to exclude from enforcement. If a model is in both lists, it is excluded
- included
Models List<String> - Models to enforce the guardrail on
EnforcedGuardrailConfigurationSelectiveContentGuarding, EnforcedGuardrailConfigurationSelectiveContentGuardingArgs
Selective content guarding controls for enforced guardrails- Messages
Pulumi.
Aws Native. Bedrock. Enforced Guardrail Configuration Selective Content Guarding Messages - Selective guarding mode for user messages
- System
Pulumi.
Aws Native. Bedrock. Enforced Guardrail Configuration Selective Content Guarding System - Selective guarding mode for system prompts
- Messages
Enforced
Guardrail Configuration Selective Content Guarding Messages - Selective guarding mode for user messages
- System
Enforced
Guardrail Configuration Selective Content Guarding System - Selective guarding mode for system prompts
- messages
Enforced
Guardrail Configuration Selective Content Guarding Messages - Selective guarding mode for user messages
- system
Enforced
Guardrail Configuration Selective Content Guarding System - Selective guarding mode for system prompts
- messages
Enforced
Guardrail Configuration Selective Content Guarding Messages - Selective guarding mode for user messages
- system
Enforced
Guardrail Configuration Selective Content Guarding System - Selective guarding mode for system prompts
- messages
Enforced
Guardrail Configuration Selective Content Guarding Messages - Selective guarding mode for user messages
- system
Enforced
Guardrail Configuration Selective Content Guarding System - Selective guarding mode for system prompts
- messages "SELECTIVE" | "COMPREHENSIVE"
- Selective guarding mode for user messages
- system "SELECTIVE" | "COMPREHENSIVE"
- Selective guarding mode for system prompts
EnforcedGuardrailConfigurationSelectiveContentGuardingMessages, EnforcedGuardrailConfigurationSelectiveContentGuardingMessagesArgs
- Selective
SELECTIVE- Comprehensive
COMPREHENSIVE
- Enforced
Guardrail Configuration Selective Content Guarding Messages Selective SELECTIVE- Enforced
Guardrail Configuration Selective Content Guarding Messages Comprehensive COMPREHENSIVE
- Selective
SELECTIVE- Comprehensive
COMPREHENSIVE
- Selective
SELECTIVE- Comprehensive
COMPREHENSIVE
- SELECTIVE
SELECTIVE- COMPREHENSIVE
COMPREHENSIVE
- "SELECTIVE"
SELECTIVE- "COMPREHENSIVE"
COMPREHENSIVE
EnforcedGuardrailConfigurationSelectiveContentGuardingSystem, EnforcedGuardrailConfigurationSelectiveContentGuardingSystemArgs
- Selective
SELECTIVE- Comprehensive
COMPREHENSIVE
- Enforced
Guardrail Configuration Selective Content Guarding System Selective SELECTIVE- Enforced
Guardrail Configuration Selective Content Guarding System Comprehensive COMPREHENSIVE
- Selective
SELECTIVE- Comprehensive
COMPREHENSIVE
- Selective
SELECTIVE- Comprehensive
COMPREHENSIVE
- SELECTIVE
SELECTIVE- COMPREHENSIVE
COMPREHENSIVE
- "SELECTIVE"
SELECTIVE- "COMPREHENSIVE"
COMPREHENSIVE
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 Monday, Apr 20, 2026 by Pulumi
