def METHOD_NAME(identifier: Optional[pulumi.Input[str]] = None,
                        role_arn: Optional[pulumi.Input[Optional[str]]] = None,
                        type_name: Optional[pulumi.Input[str]] = None,
                        type_version_id: Optional[pulumi.Input[Optional[str]]] = None,
                        opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetResourceResult]:
    """
    Provides details for a Cloud Control API Resource. The reading of these resources is proxied through Cloud Control API handlers to the backend service.
    ## Example Usage
    ```python
    import pulumi
    import pulumi_aws as aws
    example = aws.cloudcontrol.get_resource(identifier="example",
        type_name="AWS::ECS::Cluster")
    ```
    :param str identifier: Identifier of the CloudFormation resource type. For example, `vpc-12345678`.
    :param str role_arn: ARN of the IAM Role to assume for operations.
    :param str type_name: CloudFormation resource type name. For example, `AWS::EC2::VPC`.
           The following arguments are optional:
    :param str type_version_id: Identifier of the CloudFormation resource type version.
    """
    ...