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:
- ApiId string
- AppSync Api Id that this Channel Namespace belongs to.
- CodeHandlers string
- The event handler functions that run custom business logic to process published events and subscribe requests.
- CodeS3Location 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.
- PublishAuth List<Pulumi.Modes Aws Native. App Sync. Inputs. Channel Namespace Auth Mode> 
- List of AuthModes supported for Publish operations.
- SubscribeAuth 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.
- ApiId string
- AppSync Api Id that this Channel Namespace belongs to.
- CodeHandlers string
- The event handler functions that run custom business logic to process published events and subscribe requests.
- CodeS3Location 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.
- PublishAuth []ChannelModes Namespace Auth Mode Args 
- List of AuthModes supported for Publish operations.
- SubscribeAuth []ChannelModes Namespace Auth Mode Args 
- List of AuthModes supported for Subscribe operations.
- 
TagArgs 
- A set of tags (key-value pairs) for this channel namespace.
- apiId String
- AppSync Api Id that this Channel Namespace belongs to.
- codeHandlers String
- The event handler functions that run custom business logic to process published events and subscribe requests.
- codeS3Location 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.
- publishAuth List<ChannelModes Namespace Auth Mode> 
- List of AuthModes supported for Publish operations.
- subscribeAuth 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.
- apiId string
- AppSync Api Id that this Channel Namespace belongs to.
- codeHandlers string
- The event handler functions that run custom business logic to process published events and subscribe requests.
- codeS3Location 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.
- publishAuth ChannelModes Namespace Auth Mode[] 
- List of AuthModes supported for Publish operations.
- subscribeAuth 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[TagArgs] 
- A set of tags (key-value pairs) for this channel namespace.
- apiId String
- AppSync Api Id that this Channel Namespace belongs to.
- codeHandlers String
- The event handler functions that run custom business logic to process published events and subscribe requests.
- codeS3Location 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.
- publishAuth List<Property Map>Modes 
- List of AuthModes supported for Publish operations.
- subscribeAuth 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:
- ChannelNamespace stringArn 
- The Amazon Resource Name (ARN) of the channel namespace.
- Id string
- The provider-assigned unique ID for this managed resource.
- ChannelNamespace stringArn 
- The Amazon Resource Name (ARN) of the channel namespace.
- Id string
- The provider-assigned unique ID for this managed resource.
- channelNamespace StringArn 
- The Amazon Resource Name (ARN) of the channel namespace.
- id String
- The provider-assigned unique ID for this managed resource.
- channelNamespace 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.
- channelNamespace 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        
- AmazonCognito User Pools 
- AMAZON_COGNITO_USER_POOLS
- AwsIam 
- AWS_IAM
- ApiKey 
- API_KEY
- OpenidConnect 
- OPENID_CONNECT
- AwsLambda 
- AWS_LAMBDA
- ChannelNamespace Authentication Type Amazon Cognito User Pools 
- AMAZON_COGNITO_USER_POOLS
- ChannelNamespace Authentication Type Aws Iam 
- AWS_IAM
- ChannelNamespace Authentication Type Api Key 
- API_KEY
- ChannelNamespace Authentication Type Openid Connect 
- OPENID_CONNECT
- ChannelNamespace Authentication Type Aws Lambda 
- AWS_LAMBDA
- AmazonCognito User Pools 
- AMAZON_COGNITO_USER_POOLS
- AwsIam 
- AWS_IAM
- ApiKey 
- API_KEY
- OpenidConnect 
- OPENID_CONNECT
- AwsLambda 
- AWS_LAMBDA
- AmazonCognito User Pools 
- AMAZON_COGNITO_USER_POOLS
- AwsIam 
- AWS_IAM
- ApiKey 
- API_KEY
- OpenidConnect 
- OPENID_CONNECT
- AwsLambda 
- 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.