harness.platform.getAwsCCConnector
Datasource for looking up an AWS Cloud Cost connector.
Using getAwsCCConnector
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAwsCCConnector(args: GetAwsCCConnectorArgs, opts?: InvokeOptions): Promise<GetAwsCCConnectorResult>
function getAwsCCConnectorOutput(args: GetAwsCCConnectorOutputArgs, opts?: InvokeOptions): Output<GetAwsCCConnectorResult>
def get_aws_cc_connector(identifier: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAwsCCConnectorResult
def get_aws_cc_connector_output(identifier: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAwsCCConnectorResult]
func LookupAwsCCConnector(ctx *Context, args *LookupAwsCCConnectorArgs, opts ...InvokeOption) (*LookupAwsCCConnectorResult, error)
func LookupAwsCCConnectorOutput(ctx *Context, args *LookupAwsCCConnectorOutputArgs, opts ...InvokeOption) LookupAwsCCConnectorResultOutput
> Note: This function is named LookupAwsCCConnector
in the Go SDK.
public static class GetAwsCCConnector
{
public static Task<GetAwsCCConnectorResult> InvokeAsync(GetAwsCCConnectorArgs args, InvokeOptions? opts = null)
public static Output<GetAwsCCConnectorResult> Invoke(GetAwsCCConnectorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAwsCCConnectorResult> getAwsCCConnector(GetAwsCCConnectorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: harness:platform/getAwsCCConnector:getAwsCCConnector
arguments:
# arguments dictionary
The following arguments are supported:
- Identifier string
Unique identifier of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- Identifier string
Unique identifier of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- identifier String
Unique identifier of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- identifier string
Unique identifier of the resource.
- name string
Name of the resource.
- org
Id string Unique identifier of the Organization.
- project
Id string Unique identifier of the Project.
- identifier str
Unique identifier of the resource.
- name str
Name of the resource.
- org_
id str Unique identifier of the Organization.
- project_
id str Unique identifier of the Project.
- identifier String
Unique identifier of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
getAwsCCConnector Result
The following output properties are available:
- Account
Id string The AWS account id.
- Cross
Account List<Lbrlabs.Accesses Pulumi Package. Harness. Platform. Outputs. Get Aws CCConnector Cross Account Access> Harness uses the secure cross-account role to access your AWS account. The role includes a restricted policy to access the cost and usage reports and resources for the sole purpose of cost analysis and cost optimization.
- Description string
Description of the resource.
- Features
Enableds List<string> The features enabled for the connector. Valid values are BILLING, OPTIMIZATION, VISIBILITY.
- Id string
The provider-assigned unique ID for this managed resource.
- Report
Name string The cost and usage report name. Provided in the delivery options when the template is opened in the AWS console.
- S3Bucket string
The name of s3 bucket.
- List<string>
Tags to associate with the resource. Tags should be in the form
name:value
.- Identifier string
Unique identifier of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- Account
Id string The AWS account id.
- Cross
Account []GetAccesses Aws CCConnector Cross Account Access Harness uses the secure cross-account role to access your AWS account. The role includes a restricted policy to access the cost and usage reports and resources for the sole purpose of cost analysis and cost optimization.
- Description string
Description of the resource.
- Features
Enableds []string The features enabled for the connector. Valid values are BILLING, OPTIMIZATION, VISIBILITY.
- Id string
The provider-assigned unique ID for this managed resource.
- Report
Name string The cost and usage report name. Provided in the delivery options when the template is opened in the AWS console.
- S3Bucket string
The name of s3 bucket.
- []string
Tags to associate with the resource. Tags should be in the form
name:value
.- Identifier string
Unique identifier of the resource.
- Name string
Name of the resource.
- Org
Id string Unique identifier of the Organization.
- Project
Id string Unique identifier of the Project.
- account
Id String The AWS account id.
- cross
Account List<GetAccesses Aws CCConnector Cross Account Access> Harness uses the secure cross-account role to access your AWS account. The role includes a restricted policy to access the cost and usage reports and resources for the sole purpose of cost analysis and cost optimization.
- description String
Description of the resource.
- features
Enableds List<String> The features enabled for the connector. Valid values are BILLING, OPTIMIZATION, VISIBILITY.
- id String
The provider-assigned unique ID for this managed resource.
- report
Name String The cost and usage report name. Provided in the delivery options when the template is opened in the AWS console.
- s3Bucket String
The name of s3 bucket.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.- identifier String
Unique identifier of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
- account
Id string The AWS account id.
- cross
Account GetAccesses Aws CCConnector Cross Account Access[] Harness uses the secure cross-account role to access your AWS account. The role includes a restricted policy to access the cost and usage reports and resources for the sole purpose of cost analysis and cost optimization.
- description string
Description of the resource.
- features
Enableds string[] The features enabled for the connector. Valid values are BILLING, OPTIMIZATION, VISIBILITY.
- id string
The provider-assigned unique ID for this managed resource.
- report
Name string The cost and usage report name. Provided in the delivery options when the template is opened in the AWS console.
- s3Bucket string
The name of s3 bucket.
- string[]
Tags to associate with the resource. Tags should be in the form
name:value
.- identifier string
Unique identifier of the resource.
- name string
Name of the resource.
- org
Id string Unique identifier of the Organization.
- project
Id string Unique identifier of the Project.
- account_
id str The AWS account id.
- cross_
account_ Sequence[Getaccesses Aws CCConnector Cross Account Access] Harness uses the secure cross-account role to access your AWS account. The role includes a restricted policy to access the cost and usage reports and resources for the sole purpose of cost analysis and cost optimization.
- description str
Description of the resource.
- features_
enableds Sequence[str] The features enabled for the connector. Valid values are BILLING, OPTIMIZATION, VISIBILITY.
- id str
The provider-assigned unique ID for this managed resource.
- report_
name str The cost and usage report name. Provided in the delivery options when the template is opened in the AWS console.
- s3_
bucket str The name of s3 bucket.
- Sequence[str]
Tags to associate with the resource. Tags should be in the form
name:value
.- identifier str
Unique identifier of the resource.
- name str
Name of the resource.
- org_
id str Unique identifier of the Organization.
- project_
id str Unique identifier of the Project.
- account
Id String The AWS account id.
- cross
Account List<Property Map>Accesses Harness uses the secure cross-account role to access your AWS account. The role includes a restricted policy to access the cost and usage reports and resources for the sole purpose of cost analysis and cost optimization.
- description String
Description of the resource.
- features
Enableds List<String> The features enabled for the connector. Valid values are BILLING, OPTIMIZATION, VISIBILITY.
- id String
The provider-assigned unique ID for this managed resource.
- report
Name String The cost and usage report name. Provided in the delivery options when the template is opened in the AWS console.
- s3Bucket String
The name of s3 bucket.
- List<String>
Tags to associate with the resource. Tags should be in the form
name:value
.- identifier String
Unique identifier of the resource.
- name String
Name of the resource.
- org
Id String Unique identifier of the Organization.
- project
Id String Unique identifier of the Project.
Supporting Types
GetAwsCCConnectorCrossAccountAccess
- External
Id string - Role
Arn string
- External
Id string - Role
Arn string
- external
Id String - role
Arn String
- external
Id string - role
Arn string
- external_
id str - role_
arn str
- external
Id String - role
Arn String
Package Details
- Repository
- harness lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
harness
Terraform Provider.