wavefront.CloudIntegrationAwsExternalId
Explore with Pulumi AI
Provides an External ID for use in Amazon Web Services IAM Roles. This allows External IDs to be created and deleted.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";
const externalId = new wavefront.CloudIntegrationAwsExternalId("external_id", {});
import pulumi
import pulumi_wavefront as wavefront
external_id = wavefront.CloudIntegrationAwsExternalId("external_id")
package main
import (
"github.com/pulumi/pulumi-wavefront/sdk/v3/go/wavefront"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := wavefront.NewCloudIntegrationAwsExternalId(ctx, "external_id", nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Wavefront = Pulumi.Wavefront;
return await Deployment.RunAsync(() =>
{
var externalId = new Wavefront.CloudIntegrationAwsExternalId("external_id");
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.wavefront.CloudIntegrationAwsExternalId;
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 externalId = new CloudIntegrationAwsExternalId("externalId");
}
}
resources:
externalId:
type: wavefront:CloudIntegrationAwsExternalId
name: external_id
Create CloudIntegrationAwsExternalId Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudIntegrationAwsExternalId(name: string, args?: CloudIntegrationAwsExternalIdArgs, opts?: CustomResourceOptions);
@overload
def CloudIntegrationAwsExternalId(resource_name: str,
args: Optional[CloudIntegrationAwsExternalIdArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def CloudIntegrationAwsExternalId(resource_name: str,
opts: Optional[ResourceOptions] = None)
func NewCloudIntegrationAwsExternalId(ctx *Context, name string, args *CloudIntegrationAwsExternalIdArgs, opts ...ResourceOption) (*CloudIntegrationAwsExternalId, error)
public CloudIntegrationAwsExternalId(string name, CloudIntegrationAwsExternalIdArgs? args = null, CustomResourceOptions? opts = null)
public CloudIntegrationAwsExternalId(String name, CloudIntegrationAwsExternalIdArgs args)
public CloudIntegrationAwsExternalId(String name, CloudIntegrationAwsExternalIdArgs args, CustomResourceOptions options)
type: wavefront:CloudIntegrationAwsExternalId
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 CloudIntegrationAwsExternalIdArgs
- 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 CloudIntegrationAwsExternalIdArgs
- 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 CloudIntegrationAwsExternalIdArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudIntegrationAwsExternalIdArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudIntegrationAwsExternalIdArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cloudIntegrationAwsExternalIdResource = new Wavefront.CloudIntegrationAwsExternalId("cloudIntegrationAwsExternalIdResource");
example, err := wavefront.NewCloudIntegrationAwsExternalId(ctx, "cloudIntegrationAwsExternalIdResource", nil)
var cloudIntegrationAwsExternalIdResource = new CloudIntegrationAwsExternalId("cloudIntegrationAwsExternalIdResource");
cloud_integration_aws_external_id_resource = wavefront.CloudIntegrationAwsExternalId("cloudIntegrationAwsExternalIdResource")
const cloudIntegrationAwsExternalIdResource = new wavefront.CloudIntegrationAwsExternalId("cloudIntegrationAwsExternalIdResource", {});
type: wavefront:CloudIntegrationAwsExternalId
properties: {}
CloudIntegrationAwsExternalId 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 CloudIntegrationAwsExternalId resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudIntegrationAwsExternalId resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CloudIntegrationAwsExternalId Resource
Get an existing CloudIntegrationAwsExternalId resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CloudIntegrationAwsExternalIdState, opts?: CustomResourceOptions): CloudIntegrationAwsExternalId
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
) -> CloudIntegrationAwsExternalId
func GetCloudIntegrationAwsExternalId(ctx *Context, name string, id IDInput, state *CloudIntegrationAwsExternalIdState, opts ...ResourceOption) (*CloudIntegrationAwsExternalId, error)
public static CloudIntegrationAwsExternalId Get(string name, Input<string> id, CloudIntegrationAwsExternalIdState? state, CustomResourceOptions? opts = null)
public static CloudIntegrationAwsExternalId get(String name, Output<String> id, CloudIntegrationAwsExternalIdState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
Import
External IDs can be imported by using the id
, e.g.:
$ pulumi import wavefront:index/cloudIntegrationAwsExternalId:CloudIntegrationAwsExternalId external_id uGJdkH3k
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Wavefront pulumi/pulumi-wavefront
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
wavefront
Terraform Provider.