We recommend new projects start with resources from the AWS provider.
aws-native.appsync.ChannelNamespace
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for AppSync ChannelNamespace
Create ChannelNamespace Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ChannelNamespace(name: string, args: ChannelNamespaceArgs, opts?: CustomResourceOptions);
@overload
def ChannelNamespace(resource_name: str,
args: ChannelNamespaceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ChannelNamespace(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_id: Optional[str] = None,
code_handlers: Optional[str] = None,
code_s3_location: Optional[str] = None,
name: Optional[str] = None,
publish_auth_modes: Optional[Sequence[ChannelNamespaceAuthModeArgs]] = None,
subscribe_auth_modes: Optional[Sequence[ChannelNamespaceAuthModeArgs]] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewChannelNamespace(ctx *Context, name string, args ChannelNamespaceArgs, opts ...ResourceOption) (*ChannelNamespace, error)
public ChannelNamespace(string name, ChannelNamespaceArgs args, CustomResourceOptions? opts = null)
public ChannelNamespace(String name, ChannelNamespaceArgs args)
public ChannelNamespace(String name, ChannelNamespaceArgs args, CustomResourceOptions options)
type: aws-native:appsync:ChannelNamespace
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 ChannelNamespaceArgs
- 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 ChannelNamespaceArgs
- 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 ChannelNamespaceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ChannelNamespaceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ChannelNamespaceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ChannelNamespace 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 ChannelNamespace resource accepts the following input properties:
- Api
Id string - AppSync Api Id that this Channel Namespace belongs to.
- Code
Handlers string - The event handler functions that run custom business logic to process published events and subscribe requests.
- Code
S3Location string - The Amazon S3 endpoint where the code is located.
- Name string
- The name of the channel namespace. This name must be unique within the
Api
. - Publish
Auth List<Pulumi.Modes Aws Native. App Sync. Inputs. Channel Namespace Auth Mode> - List of AuthModes supported for Publish operations.
- Subscribe
Auth List<Pulumi.Modes Aws Native. App Sync. Inputs. Channel Namespace Auth Mode> - List of AuthModes supported for Subscribe operations.
- List<Pulumi.
Aws Native. Inputs. Tag> - A set of tags (key-value pairs) for this channel namespace.
- Api
Id string - AppSync Api Id that this Channel Namespace belongs to.
- Code
Handlers string - The event handler functions that run custom business logic to process published events and subscribe requests.
- Code
S3Location string - The Amazon S3 endpoint where the code is located.
- Name string
- The name of the channel namespace. This name must be unique within the
Api
. - Publish
Auth []ChannelModes Namespace Auth Mode Args - List of AuthModes supported for Publish operations.
- Subscribe
Auth []ChannelModes Namespace Auth Mode Args - List of AuthModes supported for Subscribe operations.
- Tag
Args - A set of tags (key-value pairs) for this channel namespace.
- api
Id String - AppSync Api Id that this Channel Namespace belongs to.
- code
Handlers String - The event handler functions that run custom business logic to process published events and subscribe requests.
- code
S3Location String - The Amazon S3 endpoint where the code is located.
- name String
- The name of the channel namespace. This name must be unique within the
Api
. - publish
Auth List<ChannelModes Namespace Auth Mode> - List of AuthModes supported for Publish operations.
- subscribe
Auth List<ChannelModes Namespace Auth Mode> - List of AuthModes supported for Subscribe operations.
- List<Tag>
- A set of tags (key-value pairs) for this channel namespace.
- api
Id string - AppSync Api Id that this Channel Namespace belongs to.
- code
Handlers string - The event handler functions that run custom business logic to process published events and subscribe requests.
- code
S3Location string - The Amazon S3 endpoint where the code is located.
- name string
- The name of the channel namespace. This name must be unique within the
Api
. - publish
Auth ChannelModes Namespace Auth Mode[] - List of AuthModes supported for Publish operations.
- subscribe
Auth ChannelModes Namespace Auth Mode[] - List of AuthModes supported for Subscribe operations.
- Tag[]
- A set of tags (key-value pairs) for this channel namespace.
- api_
id str - AppSync Api Id that this Channel Namespace belongs to.
- code_
handlers str - The event handler functions that run custom business logic to process published events and subscribe requests.
- code_
s3_ strlocation - The Amazon S3 endpoint where the code is located.
- name str
- The name of the channel namespace. This name must be unique within the
Api
. - publish_
auth_ Sequence[Channelmodes Namespace Auth Mode Args] - List of AuthModes supported for Publish operations.
- subscribe_
auth_ Sequence[Channelmodes Namespace Auth Mode Args] - List of AuthModes supported for Subscribe operations.
- Sequence[Tag
Args] - A set of tags (key-value pairs) for this channel namespace.
- api
Id String - AppSync Api Id that this Channel Namespace belongs to.
- code
Handlers String - The event handler functions that run custom business logic to process published events and subscribe requests.
- code
S3Location String - The Amazon S3 endpoint where the code is located.
- name String
- The name of the channel namespace. This name must be unique within the
Api
. - publish
Auth List<Property Map>Modes - List of AuthModes supported for Publish operations.
- subscribe
Auth List<Property Map>Modes - List of AuthModes supported for Subscribe operations.
- List<Property Map>
- A set of tags (key-value pairs) for this channel namespace.
Outputs
All input properties are implicitly available as output properties. Additionally, the ChannelNamespace resource produces the following output properties:
- Channel
Namespace stringArn - The Amazon Resource Name (ARN) of the channel namespace.
- Id string
- The provider-assigned unique ID for this managed resource.
- Channel
Namespace stringArn - The Amazon Resource Name (ARN) of the channel namespace.
- Id string
- The provider-assigned unique ID for this managed resource.
- channel
Namespace StringArn - The Amazon Resource Name (ARN) of the channel namespace.
- id String
- The provider-assigned unique ID for this managed resource.
- channel
Namespace stringArn - The Amazon Resource Name (ARN) of the channel namespace.
- id string
- The provider-assigned unique ID for this managed resource.
- channel_
namespace_ strarn - The Amazon Resource Name (ARN) of the channel namespace.
- id str
- The provider-assigned unique ID for this managed resource.
- channel
Namespace StringArn - The Amazon Resource Name (ARN) of the channel namespace.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
ChannelNamespaceAuthMode, ChannelNamespaceAuthModeArgs
ChannelNamespaceAuthenticationType, ChannelNamespaceAuthenticationTypeArgs
- Amazon
Cognito User Pools - AMAZON_COGNITO_USER_POOLS
- Aws
Iam - AWS_IAM
- Api
Key - API_KEY
- Openid
Connect - OPENID_CONNECT
- Aws
Lambda - AWS_LAMBDA
- Channel
Namespace Authentication Type Amazon Cognito User Pools - AMAZON_COGNITO_USER_POOLS
- Channel
Namespace Authentication Type Aws Iam - AWS_IAM
- Channel
Namespace Authentication Type Api Key - API_KEY
- Channel
Namespace Authentication Type Openid Connect - OPENID_CONNECT
- Channel
Namespace Authentication Type Aws Lambda - AWS_LAMBDA
- Amazon
Cognito User Pools - AMAZON_COGNITO_USER_POOLS
- Aws
Iam - AWS_IAM
- Api
Key - API_KEY
- Openid
Connect - OPENID_CONNECT
- Aws
Lambda - AWS_LAMBDA
- Amazon
Cognito User Pools - AMAZON_COGNITO_USER_POOLS
- Aws
Iam - AWS_IAM
- Api
Key - API_KEY
- Openid
Connect - OPENID_CONNECT
- Aws
Lambda - AWS_LAMBDA
- AMAZON_COGNITO_USER_POOLS
- AMAZON_COGNITO_USER_POOLS
- AWS_IAM
- AWS_IAM
- API_KEY
- API_KEY
- OPENID_CONNECT
- OPENID_CONNECT
- AWS_LAMBDA
- AWS_LAMBDA
- "AMAZON_COGNITO_USER_POOLS"
- AMAZON_COGNITO_USER_POOLS
- "AWS_IAM"
- AWS_IAM
- "API_KEY"
- API_KEY
- "OPENID_CONNECT"
- OPENID_CONNECT
- "AWS_LAMBDA"
- AWS_LAMBDA
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.