We recommend new projects start with resources from the AWS provider.
aws-native.logs.Integration
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Schema for Logs Integration Resource
Create Integration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Integration(name: string, args: IntegrationArgs, opts?: CustomResourceOptions);
@overload
def Integration(resource_name: str,
args: IntegrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Integration(resource_name: str,
opts: Optional[ResourceOptions] = None,
integration_type: Optional[IntegrationType] = None,
resource_config: Optional[ResourceConfigPropertiesArgs] = None,
integration_name: Optional[str] = None)
func NewIntegration(ctx *Context, name string, args IntegrationArgs, opts ...ResourceOption) (*Integration, error)
public Integration(string name, IntegrationArgs args, CustomResourceOptions? opts = null)
public Integration(String name, IntegrationArgs args)
public Integration(String name, IntegrationArgs args, CustomResourceOptions options)
type: aws-native:logs:Integration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. IntegrationArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. IntegrationArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. IntegrationArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. IntegrationArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. IntegrationArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Integration 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 Integration resource accepts the following input properties:
- Integration
Type This property is required. Pulumi.Aws Native. Logs. Integration Type - The type of the Integration.
- Resource
Config This property is required. Pulumi.Aws Native. Logs. Inputs. Resource Config Properties - OpenSearchResourceConfig for the given Integration
- Integration
Name string - User provided identifier for integration, unique to the user account.
- Integration
Type This property is required. IntegrationType - The type of the Integration.
- Resource
Config This property is required. ResourceConfig Properties Args - OpenSearchResourceConfig for the given Integration
- Integration
Name string - User provided identifier for integration, unique to the user account.
- integration
Type This property is required. IntegrationType - The type of the Integration.
- resource
Config This property is required. ResourceConfig Properties - OpenSearchResourceConfig for the given Integration
- integration
Name String - User provided identifier for integration, unique to the user account.
- integration
Type This property is required. IntegrationType - The type of the Integration.
- resource
Config This property is required. ResourceConfig Properties - OpenSearchResourceConfig for the given Integration
- integration
Name string - User provided identifier for integration, unique to the user account.
- integration_
type This property is required. IntegrationType - The type of the Integration.
- resource_
config This property is required. ResourceConfig Properties Args - OpenSearchResourceConfig for the given Integration
- integration_
name str - User provided identifier for integration, unique to the user account.
- integration
Type This property is required. "OPENSEARCH" - The type of the Integration.
- resource
Config This property is required. Property Map - OpenSearchResourceConfig for the given Integration
- integration
Name String - User provided identifier for integration, unique to the user account.
Outputs
All input properties are implicitly available as output properties. Additionally, the Integration resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Integration
Status Pulumi.Aws Native. Logs. Integration Status - Status of creation for the Integration and its resources
- Id string
- The provider-assigned unique ID for this managed resource.
- Integration
Status IntegrationStatus - Status of creation for the Integration and its resources
- id String
- The provider-assigned unique ID for this managed resource.
- integration
Status IntegrationStatus - Status of creation for the Integration and its resources
- id string
- The provider-assigned unique ID for this managed resource.
- integration
Status IntegrationStatus - Status of creation for the Integration and its resources
- id str
- The provider-assigned unique ID for this managed resource.
- integration_
status IntegrationStatus - Status of creation for the Integration and its resources
- id String
- The provider-assigned unique ID for this managed resource.
- integration
Status "PROVISIONING" | "ACTIVE" | "FAILED" - Status of creation for the Integration and its resources
Supporting Types
IntegrationOpenSearchResourceConfig, IntegrationOpenSearchResourceConfigArgs
- Dashboard
Viewer Principals This property is required. List<string> Specify the ARNs of IAM roles and IAM users who you want to grant permission to for viewing the dashboards.
In addition to specifying these users here, you must also grant them the CloudWatchOpenSearchDashboardAccess IAM policy. For more information, see IAM policies for users .
- Data
Source Role Arn This property is required. string - Specify the ARN of an IAM role that CloudWatch Logs will use to create the integration. This role must have the permissions necessary to access the OpenSearch Service collection to be able to create the dashboards. For more information about the permissions needed, see Permissions that the integration needs in the CloudWatch Logs User Guide.
- Application
Arn string - If you want to use an existing OpenSearch Service application for your integration with OpenSearch Service, specify it here. If you omit this, a new application will be created.
- Kms
Key stringArn - To have the vended dashboard data encrypted with AWS KMS instead of the CloudWatch Logs default encryption method, specify the ARN of the AWS KMS key that you want to use.
- Retention
Days int - Specify how many days that you want the data derived by OpenSearch Service to be retained in the index that the dashboard refers to. This also sets the maximum time period that you can choose when viewing data in the dashboard. Choosing a longer time frame will incur additional costs.
- Dashboard
Viewer Principals This property is required. []string Specify the ARNs of IAM roles and IAM users who you want to grant permission to for viewing the dashboards.
In addition to specifying these users here, you must also grant them the CloudWatchOpenSearchDashboardAccess IAM policy. For more information, see IAM policies for users .
- Data
Source Role Arn This property is required. string - Specify the ARN of an IAM role that CloudWatch Logs will use to create the integration. This role must have the permissions necessary to access the OpenSearch Service collection to be able to create the dashboards. For more information about the permissions needed, see Permissions that the integration needs in the CloudWatch Logs User Guide.
- Application
Arn string - If you want to use an existing OpenSearch Service application for your integration with OpenSearch Service, specify it here. If you omit this, a new application will be created.
- Kms
Key stringArn - To have the vended dashboard data encrypted with AWS KMS instead of the CloudWatch Logs default encryption method, specify the ARN of the AWS KMS key that you want to use.
- Retention
Days int - Specify how many days that you want the data derived by OpenSearch Service to be retained in the index that the dashboard refers to. This also sets the maximum time period that you can choose when viewing data in the dashboard. Choosing a longer time frame will incur additional costs.
- dashboard
Viewer Principals This property is required. List<String> Specify the ARNs of IAM roles and IAM users who you want to grant permission to for viewing the dashboards.
In addition to specifying these users here, you must also grant them the CloudWatchOpenSearchDashboardAccess IAM policy. For more information, see IAM policies for users .
- data
Source Role Arn This property is required. String - Specify the ARN of an IAM role that CloudWatch Logs will use to create the integration. This role must have the permissions necessary to access the OpenSearch Service collection to be able to create the dashboards. For more information about the permissions needed, see Permissions that the integration needs in the CloudWatch Logs User Guide.
- application
Arn String - If you want to use an existing OpenSearch Service application for your integration with OpenSearch Service, specify it here. If you omit this, a new application will be created.
- kms
Key StringArn - To have the vended dashboard data encrypted with AWS KMS instead of the CloudWatch Logs default encryption method, specify the ARN of the AWS KMS key that you want to use.
- retention
Days Integer - Specify how many days that you want the data derived by OpenSearch Service to be retained in the index that the dashboard refers to. This also sets the maximum time period that you can choose when viewing data in the dashboard. Choosing a longer time frame will incur additional costs.
- dashboard
Viewer Principals This property is required. string[] Specify the ARNs of IAM roles and IAM users who you want to grant permission to for viewing the dashboards.
In addition to specifying these users here, you must also grant them the CloudWatchOpenSearchDashboardAccess IAM policy. For more information, see IAM policies for users .
- data
Source Role Arn This property is required. string - Specify the ARN of an IAM role that CloudWatch Logs will use to create the integration. This role must have the permissions necessary to access the OpenSearch Service collection to be able to create the dashboards. For more information about the permissions needed, see Permissions that the integration needs in the CloudWatch Logs User Guide.
- application
Arn string - If you want to use an existing OpenSearch Service application for your integration with OpenSearch Service, specify it here. If you omit this, a new application will be created.
- kms
Key stringArn - To have the vended dashboard data encrypted with AWS KMS instead of the CloudWatch Logs default encryption method, specify the ARN of the AWS KMS key that you want to use.
- retention
Days number - Specify how many days that you want the data derived by OpenSearch Service to be retained in the index that the dashboard refers to. This also sets the maximum time period that you can choose when viewing data in the dashboard. Choosing a longer time frame will incur additional costs.
- dashboard_
viewer_ principals This property is required. Sequence[str] Specify the ARNs of IAM roles and IAM users who you want to grant permission to for viewing the dashboards.
In addition to specifying these users here, you must also grant them the CloudWatchOpenSearchDashboardAccess IAM policy. For more information, see IAM policies for users .
- data_
source_ role_ arn This property is required. str - Specify the ARN of an IAM role that CloudWatch Logs will use to create the integration. This role must have the permissions necessary to access the OpenSearch Service collection to be able to create the dashboards. For more information about the permissions needed, see Permissions that the integration needs in the CloudWatch Logs User Guide.
- application_
arn str - If you want to use an existing OpenSearch Service application for your integration with OpenSearch Service, specify it here. If you omit this, a new application will be created.
- kms_
key_ strarn - To have the vended dashboard data encrypted with AWS KMS instead of the CloudWatch Logs default encryption method, specify the ARN of the AWS KMS key that you want to use.
- retention_
days int - Specify how many days that you want the data derived by OpenSearch Service to be retained in the index that the dashboard refers to. This also sets the maximum time period that you can choose when viewing data in the dashboard. Choosing a longer time frame will incur additional costs.
- dashboard
Viewer Principals This property is required. List<String> Specify the ARNs of IAM roles and IAM users who you want to grant permission to for viewing the dashboards.
In addition to specifying these users here, you must also grant them the CloudWatchOpenSearchDashboardAccess IAM policy. For more information, see IAM policies for users .
- data
Source Role Arn This property is required. String - Specify the ARN of an IAM role that CloudWatch Logs will use to create the integration. This role must have the permissions necessary to access the OpenSearch Service collection to be able to create the dashboards. For more information about the permissions needed, see Permissions that the integration needs in the CloudWatch Logs User Guide.
- application
Arn String - If you want to use an existing OpenSearch Service application for your integration with OpenSearch Service, specify it here. If you omit this, a new application will be created.
- kms
Key StringArn - To have the vended dashboard data encrypted with AWS KMS instead of the CloudWatch Logs default encryption method, specify the ARN of the AWS KMS key that you want to use.
- retention
Days Number - Specify how many days that you want the data derived by OpenSearch Service to be retained in the index that the dashboard refers to. This also sets the maximum time period that you can choose when viewing data in the dashboard. Choosing a longer time frame will incur additional costs.
IntegrationStatus, IntegrationStatusArgs
- Provisioning
- PROVISIONING
- Active
- ACTIVE
- Failed
- FAILED
- Integration
Status Provisioning - PROVISIONING
- Integration
Status Active - ACTIVE
- Integration
Status Failed - FAILED
- Provisioning
- PROVISIONING
- Active
- ACTIVE
- Failed
- FAILED
- Provisioning
- PROVISIONING
- Active
- ACTIVE
- Failed
- FAILED
- PROVISIONING
- PROVISIONING
- ACTIVE
- ACTIVE
- FAILED
- FAILED
- "PROVISIONING"
- PROVISIONING
- "ACTIVE"
- ACTIVE
- "FAILED"
- FAILED
IntegrationType, IntegrationTypeArgs
- Opensearch
- OPENSEARCH
- Integration
Type Opensearch - OPENSEARCH
- Opensearch
- OPENSEARCH
- Opensearch
- OPENSEARCH
- OPENSEARCH
- OPENSEARCH
- "OPENSEARCH"
- OPENSEARCH
ResourceConfigProperties, ResourceConfigPropertiesArgs
- Open
Search Pulumi.Resource Config Aws Native. Logs. Inputs. Integration Open Search Resource Config - This structure contains configuration details about an integration between CloudWatch Logs and OpenSearch Service.
- Open
Search IntegrationResource Config Open Search Resource Config - This structure contains configuration details about an integration between CloudWatch Logs and OpenSearch Service.
- open
Search IntegrationResource Config Open Search Resource Config - This structure contains configuration details about an integration between CloudWatch Logs and OpenSearch Service.
- open
Search IntegrationResource Config Open Search Resource Config - This structure contains configuration details about an integration between CloudWatch Logs and OpenSearch Service.
- open_
search_ Integrationresource_ config Open Search Resource Config - This structure contains configuration details about an integration between CloudWatch Logs and OpenSearch Service.
- open
Search Property MapResource Config - This structure contains configuration details about an integration between CloudWatch Logs and OpenSearch Service.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.