AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the CreateApplication operation. This API is in preview release and subject to change.
Creates and persists an Application resource.
Namespace: Amazon.AppIntegrationsService.Model
Assembly: AWSSDK.AppIntegrationsService.dll
Version: 3.x.y.z
public class CreateApplicationRequest : AmazonAppIntegrationsServiceRequest IAmazonWebServiceRequest
The CreateApplicationRequest type exposes the following members
Name | Description | |
---|---|---|
CreateApplicationRequest() |
Name | Type | Description | |
---|---|---|---|
ApplicationSourceConfig | Amazon.AppIntegrationsService.Model.ApplicationSourceConfig |
Gets and sets the property ApplicationSourceConfig. The configuration for where the application should be loaded from. |
|
ClientToken | System.String |
Gets and sets the property ClientToken. A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs. |
|
Description | System.String |
Gets and sets the property Description. The description of the application. |
|
Name | System.String |
Gets and sets the property Name. The name of the application. |
|
Namespace | System.String |
Gets and sets the property Namespace. The namespace of the application. |
|
Permissions | System.Collections.Generic.List<System.String> |
Gets and sets the property Permissions. The configuration of events or requests that the application has access to. |
|
Publications | System.Collections.Generic.List<Amazon.AppIntegrationsService.Model.Publication> |
Gets and sets the property Publications. The events that the application publishes. |
|
Subscriptions | System.Collections.Generic.List<Amazon.AppIntegrationsService.Model.Subscription> |
Gets and sets the property Subscriptions. The events that the application subscribes. |
|
Tags | System.Collections.Generic.Dictionary<System.String, System.String> |
Gets and sets the property Tags. The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }. |
The following creates an application named My Application with access url https://example.com.
var client = new AmazonAppIntegrationsServiceClient(); var response = client.CreateApplication(new CreateApplicationRequest { ApplicationSourceConfig = new ApplicationSourceConfig { ExternalUrlConfig = new ExternalUrlConfig { AccessUrl = "https://example.com" } }, Description = "My first application.", Name = "My Application", Namespace = "myapplication" }); string arn = response.Arn; string id = response.Id;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5