IngestionArgs

data class IngestionArgs(val app: Output<String>? = null, val appBundleArn: Output<String>? = null, val ingestionType: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val tenantId: Output<String>? = null) : ConvertibleToJava<IngestionArgs>

Resource for managing an AWS AppFabric Ingestion.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.appfabric.Ingestion("example", {
app: "OKTA",
appBundleArn: exampleAwsAppfabricAppBundle.arn,
tenantId: "example.okta.com",
ingestionType: "auditLog",
tags: {
Environment: "test",
},
});
import pulumi
import pulumi_aws as aws
example = aws.appfabric.Ingestion("example",
app="OKTA",
app_bundle_arn=example_aws_appfabric_app_bundle["arn"],
tenant_id="example.okta.com",
ingestion_type="auditLog",
tags={
"Environment": "test",
})
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.AppFabric.Ingestion("example", new()
{
App = "OKTA",
AppBundleArn = exampleAwsAppfabricAppBundle.Arn,
TenantId = "example.okta.com",
IngestionType = "auditLog",
Tags =
{
{ "Environment", "test" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appfabric"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := appfabric.NewIngestion(ctx, "example", &appfabric.IngestionArgs{
App: pulumi.String("OKTA"),
AppBundleArn: pulumi.Any(exampleAwsAppfabricAppBundle.Arn),
TenantId: pulumi.String("example.okta.com"),
IngestionType: pulumi.String("auditLog"),
Tags: pulumi.StringMap{
"Environment": pulumi.String("test"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.appfabric.Ingestion;
import com.pulumi.aws.appfabric.IngestionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Ingestion("example", IngestionArgs.builder()
.app("OKTA")
.appBundleArn(exampleAwsAppfabricAppBundle.arn())
.tenantId("example.okta.com")
.ingestionType("auditLog")
.tags(Map.of("Environment", "test"))
.build());
}
}
resources:
example:
type: aws:appfabric:Ingestion
properties:
app: OKTA
appBundleArn: ${exampleAwsAppfabricAppBundle.arn}
tenantId: example.okta.com
ingestionType: auditLog
tags:
Environment: test

Import

Using pulumi import, import AppFabric Ingestion using the app_bundle_identifier and arn separated by ,. For example:

$ pulumi import aws:appfabric/ingestion:Ingestion example arn:aws:appfabric:[region]:[account]:appbundle/a9b91477-8831-43c0-970c-xxxxxxxxxx,arn:aws:appfabric:[region]:[account]:appbundle/a9b91477-8831-43c0-970c-xxxxxxxxxx/ingestion/32251416-710b-4425-96ca-xxxxxxxxxx

Constructors

Link copied to clipboard
constructor(app: Output<String>? = null, appBundleArn: Output<String>? = null, ingestionType: Output<String>? = null, tags: Output<Map<String, String>>? = null, tenantId: Output<String>? = null)

Properties

Link copied to clipboard
val app: Output<String>? = null

Name of the application. Refer to the AWS Documentation for the list of valid values

Link copied to clipboard
val appBundleArn: Output<String>? = null

Amazon Resource Name (ARN) of the app bundle to use for the request.

Link copied to clipboard
val ingestionType: Output<String>? = null

Ingestion type. Valid values are auditLog.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tenantId: Output<String>? = null

ID of the application tenant.

Functions

Link copied to clipboard
open override fun toJava(): IngestionArgs