eventstorecloud.AWSCloudWatchMetricsIntegration
Explore with Pulumi AI
Create AWSCloudWatchMetricsIntegration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AWSCloudWatchMetricsIntegration(name: string, args: AWSCloudWatchMetricsIntegrationArgs, opts?: CustomResourceOptions);
@overload
def AWSCloudWatchMetricsIntegration(resource_name: str,
args: AWSCloudWatchMetricsIntegrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AWSCloudWatchMetricsIntegration(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_ids: Optional[Sequence[str]] = None,
description: Optional[str] = None,
namespace: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
access_key_id: Optional[str] = None,
secret_access_key: Optional[str] = None)
func NewAWSCloudWatchMetricsIntegration(ctx *Context, name string, args AWSCloudWatchMetricsIntegrationArgs, opts ...ResourceOption) (*AWSCloudWatchMetricsIntegration, error)
public AWSCloudWatchMetricsIntegration(string name, AWSCloudWatchMetricsIntegrationArgs args, CustomResourceOptions? opts = null)
public AWSCloudWatchMetricsIntegration(String name, AWSCloudWatchMetricsIntegrationArgs args)
public AWSCloudWatchMetricsIntegration(String name, AWSCloudWatchMetricsIntegrationArgs args, CustomResourceOptions options)
type: eventstorecloud:AWSCloudWatchMetricsIntegration
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 AWSCloudWatchMetricsIntegrationArgs
- 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 AWSCloudWatchMetricsIntegrationArgs
- 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 AWSCloudWatchMetricsIntegrationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AWSCloudWatchMetricsIntegrationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AWSCloudWatchMetricsIntegrationArgs
- 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 awscloudWatchMetricsIntegrationResource = new EventStoreCloud.AWSCloudWatchMetricsIntegration("awscloudWatchMetricsIntegrationResource", new()
{
ClusterIds = new[]
{
"string",
},
Description = "string",
Namespace = "string",
ProjectId = "string",
Region = "string",
AccessKeyId = "string",
SecretAccessKey = "string",
});
example, err := eventstorecloud.NewAWSCloudWatchMetricsIntegration(ctx, "awscloudWatchMetricsIntegrationResource", &eventstorecloud.AWSCloudWatchMetricsIntegrationArgs{
ClusterIds: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
Namespace: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Region: pulumi.String("string"),
AccessKeyId: pulumi.String("string"),
SecretAccessKey: pulumi.String("string"),
})
var awscloudWatchMetricsIntegrationResource = new AWSCloudWatchMetricsIntegration("awscloudWatchMetricsIntegrationResource", AWSCloudWatchMetricsIntegrationArgs.builder()
.clusterIds("string")
.description("string")
.namespace("string")
.projectId("string")
.region("string")
.accessKeyId("string")
.secretAccessKey("string")
.build());
awscloud_watch_metrics_integration_resource = eventstorecloud.AWSCloudWatchMetricsIntegration("awscloudWatchMetricsIntegrationResource",
cluster_ids=["string"],
description="string",
namespace="string",
project_id="string",
region="string",
access_key_id="string",
secret_access_key="string")
const awscloudWatchMetricsIntegrationResource = new eventstorecloud.AWSCloudWatchMetricsIntegration("awscloudWatchMetricsIntegrationResource", {
clusterIds: ["string"],
description: "string",
namespace: "string",
projectId: "string",
region: "string",
accessKeyId: "string",
secretAccessKey: "string",
});
type: eventstorecloud:AWSCloudWatchMetricsIntegration
properties:
accessKeyId: string
clusterIds:
- string
description: string
namespace: string
projectId: string
region: string
secretAccessKey: string
AWSCloudWatchMetricsIntegration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AWSCloudWatchMetricsIntegration resource accepts the following input properties:
- Cluster
Ids List<string> - Clusters to be used with this integration
- Description string
- Human readable description of the integration
- Namespace string
- Name of the CloudWatch namespace
- Project
Id string - ID of the project to which the integration applies
- Region string
- AWS region for group
- Access
Key stringId - AWS IAM access key
- Secret
Access stringKey - AWS IAM secret access key
- Cluster
Ids []string - Clusters to be used with this integration
- Description string
- Human readable description of the integration
- Namespace string
- Name of the CloudWatch namespace
- Project
Id string - ID of the project to which the integration applies
- Region string
- AWS region for group
- Access
Key stringId - AWS IAM access key
- Secret
Access stringKey - AWS IAM secret access key
- cluster
Ids List<String> - Clusters to be used with this integration
- description String
- Human readable description of the integration
- namespace String
- Name of the CloudWatch namespace
- project
Id String - ID of the project to which the integration applies
- region String
- AWS region for group
- access
Key StringId - AWS IAM access key
- secret
Access StringKey - AWS IAM secret access key
- cluster
Ids string[] - Clusters to be used with this integration
- description string
- Human readable description of the integration
- namespace string
- Name of the CloudWatch namespace
- project
Id string - ID of the project to which the integration applies
- region string
- AWS region for group
- access
Key stringId - AWS IAM access key
- secret
Access stringKey - AWS IAM secret access key
- cluster_
ids Sequence[str] - Clusters to be used with this integration
- description str
- Human readable description of the integration
- namespace str
- Name of the CloudWatch namespace
- project_
id str - ID of the project to which the integration applies
- region str
- AWS region for group
- access_
key_ strid - AWS IAM access key
- secret_
access_ strkey - AWS IAM secret access key
- cluster
Ids List<String> - Clusters to be used with this integration
- description String
- Human readable description of the integration
- namespace String
- Name of the CloudWatch namespace
- project
Id String - ID of the project to which the integration applies
- region String
- AWS region for group
- access
Key StringId - AWS IAM access key
- secret
Access StringKey - AWS IAM secret access key
Outputs
All input properties are implicitly available as output properties. Additionally, the AWSCloudWatchMetricsIntegration 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 AWSCloudWatchMetricsIntegration Resource
Get an existing AWSCloudWatchMetricsIntegration 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?: AWSCloudWatchMetricsIntegrationState, opts?: CustomResourceOptions): AWSCloudWatchMetricsIntegration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_key_id: Optional[str] = None,
cluster_ids: Optional[Sequence[str]] = None,
description: Optional[str] = None,
namespace: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
secret_access_key: Optional[str] = None) -> AWSCloudWatchMetricsIntegration
func GetAWSCloudWatchMetricsIntegration(ctx *Context, name string, id IDInput, state *AWSCloudWatchMetricsIntegrationState, opts ...ResourceOption) (*AWSCloudWatchMetricsIntegration, error)
public static AWSCloudWatchMetricsIntegration Get(string name, Input<string> id, AWSCloudWatchMetricsIntegrationState? state, CustomResourceOptions? opts = null)
public static AWSCloudWatchMetricsIntegration get(String name, Output<String> id, AWSCloudWatchMetricsIntegrationState 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.
- Access
Key stringId - AWS IAM access key
- Cluster
Ids List<string> - Clusters to be used with this integration
- Description string
- Human readable description of the integration
- Namespace string
- Name of the CloudWatch namespace
- Project
Id string - ID of the project to which the integration applies
- Region string
- AWS region for group
- Secret
Access stringKey - AWS IAM secret access key
- Access
Key stringId - AWS IAM access key
- Cluster
Ids []string - Clusters to be used with this integration
- Description string
- Human readable description of the integration
- Namespace string
- Name of the CloudWatch namespace
- Project
Id string - ID of the project to which the integration applies
- Region string
- AWS region for group
- Secret
Access stringKey - AWS IAM secret access key
- access
Key StringId - AWS IAM access key
- cluster
Ids List<String> - Clusters to be used with this integration
- description String
- Human readable description of the integration
- namespace String
- Name of the CloudWatch namespace
- project
Id String - ID of the project to which the integration applies
- region String
- AWS region for group
- secret
Access StringKey - AWS IAM secret access key
- access
Key stringId - AWS IAM access key
- cluster
Ids string[] - Clusters to be used with this integration
- description string
- Human readable description of the integration
- namespace string
- Name of the CloudWatch namespace
- project
Id string - ID of the project to which the integration applies
- region string
- AWS region for group
- secret
Access stringKey - AWS IAM secret access key
- access_
key_ strid - AWS IAM access key
- cluster_
ids Sequence[str] - Clusters to be used with this integration
- description str
- Human readable description of the integration
- namespace str
- Name of the CloudWatch namespace
- project_
id str - ID of the project to which the integration applies
- region str
- AWS region for group
- secret_
access_ strkey - AWS IAM secret access key
- access
Key StringId - AWS IAM access key
- cluster
Ids List<String> - Clusters to be used with this integration
- description String
- Human readable description of the integration
- namespace String
- Name of the CloudWatch namespace
- project
Id String - ID of the project to which the integration applies
- region String
- AWS region for group
- secret
Access StringKey - AWS IAM secret access key
Package Details
- Repository
- eventstorecloud EventStore/pulumi-eventstorecloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
eventstorecloud
Terraform Provider.