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::ConsentPortal
Create ConsentPortal Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConsentPortal(name: string, args: ConsentPortalArgs, opts?: CustomResourceOptions);@overload
def ConsentPortal(resource_name: str,
args: ConsentPortalArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConsentPortal(resource_name: str,
opts: Optional[ResourceOptions] = None,
execution_role_arn: Optional[str] = None,
idp_config: Optional[ConsentPortalIdpConfigArgs] = None,
sources: Optional[Sequence[ConsentPortalSourceArgs]] = None,
description: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewConsentPortal(ctx *Context, name string, args ConsentPortalArgs, opts ...ResourceOption) (*ConsentPortal, error)public ConsentPortal(string name, ConsentPortalArgs args, CustomResourceOptions? opts = null)
public ConsentPortal(String name, ConsentPortalArgs args)
public ConsentPortal(String name, ConsentPortalArgs args, CustomResourceOptions options)
type: aws-native:bedrockagentcore:ConsentPortal
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_bedrockagentcore_consent_portal" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ConsentPortalArgs
- 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 ConsentPortalArgs
- 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 ConsentPortalArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConsentPortalArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConsentPortalArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ConsentPortal 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 ConsentPortal resource accepts the following input properties:
- Execution
Role stringArn - Idp
Config Pulumi.Aws Native. Bedrock Agent Core. Inputs. Consent Portal Idp Config - Sources
List<Pulumi.
Aws Native. Bedrock Agent Core. Inputs. Consent Portal Source> - Description string
- Name string
-
List<Pulumi.
Aws Native. Inputs. Tag> - Tags to assign to the consent portal
- Execution
Role stringArn - Idp
Config ConsentPortal Idp Config Args - Sources
[]Consent
Portal Source Args - Description string
- Name string
-
Tag
Args - Tags to assign to the consent portal
- execution_
role_ stringarn - idp_
config object - sources list(object)
- description string
- name string
- list(object)
- Tags to assign to the consent portal
- execution
Role StringArn - idp
Config ConsentPortal Idp Config - sources
List<Consent
Portal Source> - description String
- name String
- List<Tag>
- Tags to assign to the consent portal
- execution
Role stringArn - idp
Config ConsentPortal Idp Config - sources
Consent
Portal Source[] - description string
- name string
- Tag[]
- Tags to assign to the consent portal
- execution_
role_ strarn - idp_
config ConsentPortal Idp Config Args - sources
Sequence[Consent
Portal Source Args] - description str
- name str
-
Sequence[Tag
Args] - Tags to assign to the consent portal
- execution
Role StringArn - idp
Config Property Map - sources List<Property Map>
- description String
- name String
- List<Property Map>
- Tags to assign to the consent portal
Outputs
All input properties are implicitly available as output properties. Additionally, the ConsentPortal resource produces the following output properties:
- Consent
Portal stringArn - The Amazon Resource Name (ARN) of the resource.
- Consent
Portal stringId - Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Portal
Url string - Status
Pulumi.
Aws Native. Bedrock Agent Core. Consent Portal Status - Updated
At string
- Consent
Portal stringArn - The Amazon Resource Name (ARN) of the resource.
- Consent
Portal stringId - Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Portal
Url string - Status
Consent
Portal Status - Updated
At string
- consent_
portal_ stringarn - The Amazon Resource Name (ARN) of the resource.
- consent_
portal_ stringid - created_
at string - id string
- The provider-assigned unique ID for this managed resource.
- portal_
url string - status "CREATING" | "ACTIVE" | "UPDATING" | "UPDATE_FAILED" | "DELETING" | "FAILED"
- updated_
at string
- consent
Portal StringArn - The Amazon Resource Name (ARN) of the resource.
- consent
Portal StringId - created
At String - id String
- The provider-assigned unique ID for this managed resource.
- portal
Url String - status
Consent
Portal Status - updated
At String
- consent
Portal stringArn - The Amazon Resource Name (ARN) of the resource.
- consent
Portal stringId - created
At string - id string
- The provider-assigned unique ID for this managed resource.
- portal
Url string - status
Consent
Portal Status - updated
At string
- consent_
portal_ strarn - The Amazon Resource Name (ARN) of the resource.
- consent_
portal_ strid - created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- portal_
url str - status
Consent
Portal Status - updated_
at str
- consent
Portal StringArn - The Amazon Resource Name (ARN) of the resource.
- consent
Portal StringId - created
At String - id String
- The provider-assigned unique ID for this managed resource.
- portal
Url String - status "CREATING" | "ACTIVE" | "UPDATING" | "UPDATE_FAILED" | "DELETING" | "FAILED"
- updated
At String
Look up Existing ConsentPortal Resource
Get an existing ConsentPortal 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): ConsentPortal@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> ConsentPortalfunc GetConsentPortal(ctx *Context, name string, id IDInput, state *ConsentPortalState, opts ...ResourceOption) (*ConsentPortal, error)public static ConsentPortal Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static ConsentPortal get(String name, Output<String> id, CustomResourceOptions options)resources: existingConsentPortal: type: aws-native:bedrockagentcore:ConsentPortal get: id: ${id}import {
to = aws-native_bedrockagentcore_consent_portal.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 ConsentPortalState
- 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
ConsentPortalIdpConfig, ConsentPortalIdpConfigArgs
- Credential
Provider stringArn - The ARN of an AWS::BedrockAgentCore::OAuth2CredentialProvider resource.
- Scopes List<string>
- Audience string
- Credential
Provider stringArn - The ARN of an AWS::BedrockAgentCore::OAuth2CredentialProvider resource.
- Scopes []string
- Audience string
- credential_
provider_ stringarn - The ARN of an AWS::BedrockAgentCore::OAuth2CredentialProvider resource.
- scopes list(string)
- audience string
- credential
Provider StringArn - The ARN of an AWS::BedrockAgentCore::OAuth2CredentialProvider resource.
- scopes List<String>
- audience String
- credential
Provider stringArn - The ARN of an AWS::BedrockAgentCore::OAuth2CredentialProvider resource.
- scopes string[]
- audience string
- credential_
provider_ strarn - The ARN of an AWS::BedrockAgentCore::OAuth2CredentialProvider resource.
- scopes Sequence[str]
- audience str
- credential
Provider StringArn - The ARN of an AWS::BedrockAgentCore::OAuth2CredentialProvider resource.
- scopes List<String>
- audience String
ConsentPortalSource, ConsentPortalSourceArgs
ConsentPortalSourceType
| Name | Value |
|---|---|
| Agentcore | agentcore-gateway |
| Name | Value |
|---|---|
| Consent | agentcore-gateway |
| Value |
|---|
agentcore-gateway |
| Name | Value |
|---|---|
| Agentcore | agentcore-gateway |
| Name | Value |
|---|---|
| Agentcore | agentcore-gateway |
| Name | Value |
|---|---|
| AGENTCORE_GATEWAY | agentcore-gateway |
| Value |
|---|
agentcore-gateway |
ConsentPortalStatus
| Name | Value |
|---|---|
| Creating | CREATING |
| Active | ACTIVE |
| Updating | UPDATING |
| Update | UPDATE_FAILED |
| Deleting | DELETING |
| Failed | FAILED |
| Name | Value |
|---|---|
| Consent | CREATING |
| Consent | ACTIVE |
| Consent | UPDATING |
| Consent | UPDATE_FAILED |
| Consent | DELETING |
| Consent | FAILED |
| Value |
|---|
CREATING |
ACTIVE |
UPDATING |
UPDATE_FAILED |
DELETING |
FAILED |
| Name | Value |
|---|---|
| Creating | CREATING |
| Active | ACTIVE |
| Updating | UPDATING |
| Update | UPDATE_FAILED |
| Deleting | DELETING |
| Failed | FAILED |
| Name | Value |
|---|---|
| Creating | CREATING |
| Active | ACTIVE |
| Updating | UPDATING |
| Update | UPDATE_FAILED |
| Deleting | DELETING |
| Failed | FAILED |
| Name | Value |
|---|---|
| CREATING | CREATING |
| ACTIVE | ACTIVE |
| UPDATING | UPDATING |
| UPDATE_FAILED | UPDATE_FAILED |
| DELETING | DELETING |
| FAILED | FAILED |
| Value |
|---|
CREATING |
ACTIVE |
UPDATING |
UPDATE_FAILED |
DELETING |
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